emit method
void
emit(
- S state
Implementation
void emit(S state) {
if (this.state != state) {
this.state = state;
_controller.add(state);
}
}
void emit(S state) {
if (this.state != state) {
this.state = state;
_controller.add(state);
}
}