update method

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

Setter of the current list of the informer.

Implementation

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