updateAll method

  1. @override
void updateAll(
  1. T update(
    1. K key,
    2. T value
    )
)
override

Updates all values. Listeners are notified after all values have been updated.

Iterates over all entries in the map and updates them with the result of invoking update.

Implementation

@override
void updateAll(T Function(K key, T value) update) {
  assert(_debugAssertNotDisposed());
  _map!.updateAll(update);
  notifyListeners();
}