addState method

Store addState (BaseState stateInstance)

This method is usefull to add a state passing stateInstance on demand.

Implementation

Store addState(BaseState stateInstance) {
  _storeHelper.addState(stateInstance);
  return this;
}