onData property

Stream<S> onData

Called whenever the BloC's state is updated.

Implementation

Stream<S> get onData => stateController.stream.distinct();