fun <A, B> OptionWithValues<List<Pair<A, B>>, Pair<A, B>, Pair<A, B>>.toMap(): OptionWithValues<Map<A, B>, Pair<A, B>, Pair<A, B>>

Convert this option's values from a list of pairs into a map with key-value pairs from the list.

If the same key appears more than once, the last one will be added to the map.