toMap

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.