stateReceiver method

  1. @protected
void stateReceiver(
  1. State nextState
)

Receives IsolateBlocBase's states and adds them to the state Stream.

Implementation

@protected
void stateReceiver(State nextState) {
  if (nextState != _state) {
    _stateController.add(nextState);
    _state = nextState;
  }
}