updateAll method
void
updateAll(
- V update(
- K key,
- V fallback
Update all values
Implementation
void updateAll(V Function(K key, V value) update) {
final newMap = Map<K, V>.from(value);
newMap.updateAll(update);
value = newMap;
}