update method

void update(
  1. Map<E, T> value, {
  2. bool doNotifyListeners = true,
})

Setter of the current map of the informer.

Implementation

void update(
  Map<E, T> value, {
  bool doNotifyListeners = true,
}) {
  if (_forceUpdate || !mapEquals(_value, value)) {
    _value = value;
    if (doNotifyListeners) {
      notifyListeners();
    }
  }
}