toMap

open fun <K, V> toMap(key: K, value: V): Map<K, V>(source)

Wraps the given key and value in a mutable unordered map.