emit method

  1. @protected
  2. @visibleForTesting
  3. @override
void emit(
  1. State state
)
override

emit should never be used outside of tests.

Updates the state of the controller to the provided state. A controller's state should only be updated by yielding a new state from mapEventToState in response to an event.

Implementation

@protected
@visibleForTesting
@override
void emit(State state) => super.emit(state);