dispatchState property
Notifies the BloC of a new state which triggers onData
.
Implementation
@protected
Function(S) get dispatchState {
if (!stateController.isClosed) {
return stateController.sink.add;
}
return _dispatchState;
}
Notifies the BloC of a new state which triggers onData
.
@protected
Function(S) get dispatchState {
if (!stateController.isClosed) {
return stateController.sink.add;
}
return _dispatchState;
}