onData property
Stream<S>
get
onData
Called whenever the BloC's state is updated.
Implementation
Stream<S> get onData => stateController.stream.distinct();
Called whenever the BloC's state is updated.
Stream<S> get onData => stateController.stream.distinct();