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