value property
Returns the last emitted value, failing if there is no value. See hasValue to determine whether value has already been set.
Throws ValueStreamError if this Stream has no value.
Implementation
@override
T get value => _value;
Set the value of this MutableStateStream.
Also emits the newValue
to all listeners
if it is not equal to the current value.
Implementation
@override
set value(T newValue) => add(newValue);