emit method

  1. @visibleForTesting
  2. @override
void emit(
  1. PeersState state
)
inherited

emit should never be used outside of tests.

Updates the state of the bloc to the provided state. A bloc's state should only be updated by emitting a new state from an EventHandler in response to an incoming event.

Implementation

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