setState abstract method
- @protected
- @mustCallSuper
- State state
Updates the state
to the provided state
.
setState does nothing if the instance has been closed.
Implementation
@protected
@mustCallSuper
void setState(State state);
Updates the state
to the provided state
.
setState does nothing if the instance has been closed.
@protected
@mustCallSuper
void setState(State state);