addState method

  1. @protected
void addState(
  1. State<StatefulComponent> state
)

Add states by key

Implementation

@protected
void addState(State state) {
  _states[state.key.key] = state.key;
}