updateAll method Null safety

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

Updates all values.

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

Implementation

@override
void updateAll(V update(K key, V value)) {
  _values.updateAll(update);
  notifyListeners();
}