state property
T
get
state
The current state.
Changing the state will notify the observers. If the newValue
is a Future, then the notification will be
sent after the future is completed.
Implementation
T get state;
set
state
(FutureOr<T> newValue)
Implementation
set state(FutureOr<T> newValue);