onData property

Stream<S> get onData

Called whenever the BloC's state is updated.

Implementation

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