mutate method
- void mutator(
- Map<
K, V> map
- Map<
Mutate the map in-place and notify listeners.
High performance alternative for massive maps. Bypasses object allocation and equality checks.
Implementation
void mutate(void Function(Map<K, V> map) mutator) {
mutator(value);
notifyListeners();
}