toMutableMap method Null safety

KtMutableMap<K, V> toMutableMap()

Returns a new mutable map containing all key-value pairs from the original map.

The returned map preserves the entry iteration order of the original map.

Implementation

KtMutableMap<K, V> toMutableMap() => mutableMapFrom(asMap());