Function

mutableStateMapOf

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

mutableStateMapOf

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

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


mutableStateMapOf

Common
@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.