useMap<K, V> function
Creates stable map state initialized with a snapshot of initialValue.
Implementation
MapController<K, V> useMap<K, V>([Map<K, V> initialValue = const <Never, Never>{}]) {
return use(_MapHook<K, V>(initialValue));
}