update method
Setter of the current list of the informer.
Implementation
void update(
Set<T> value, {
bool doNotifyListeners = true,
}) {
if (_forceUpdate || !setEquals(_value, value)) {
_value = value;
if (doNotifyListeners) {
notifyListeners();
}
}
}