Function

mutableStateMapOf

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

Source set: Common

Added in 1.11.0-rc01

@StateFactoryMarker
public fun <K, V> mutableStateMapOf(): SnapshotStateMap<K, V>

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

Source set: Common

Added in 1.11.0-rc01

@StateFactoryMarker
public fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>): SnapshotStateMap<K, V>

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