setState abstract method

  1. @protected
  2. @mustCallSuper
void setState(
  1. 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);