emit method
void
emit(
- S state
Emit the state if the controller is not closed
Implementation
void emit(S state) {
if (!_controller.isClosed) {
_controller.add(state);
}
}
Emit the state if the controller is not closed
void emit(S state) {
if (!_controller.isClosed) {
_controller.add(state);
}
}