Function

toMutableStateMap

Create an instance of MutableMap<K, V> from a collection of pairs that is observable and can be snapshot.

Source set: Common

Added in 1.11.0-rc01

public fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap(): SnapshotStateMap<K, V>

Create an instance of MutableMap<K, V> from a collection of pairs that is observable and can be snapshot.