value property
The current value stored in this notifier.
When the value is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners.
Implementation
@override
@Deprecated('Use snapshot instead')
AsyncSnapshot<T> get value => super.value;
Implementation
@override
@protected
set value(AsyncSnapshot<T> newValue) {
if (observer != null && super.value != newValue) {
observer?.onChange(this, super.value, newValue);
}
super.value = newValue;
}