update method
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();
}
}
}