to Map
fun <A, B, EachT, ValueT> OptionWithValues<List<Pair<A, B>>, EachT, ValueT>.toMap(): OptionWithValues<Map<A, B>, EachT, ValueT>
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.