updateState method
void
updateState(
- S state
Implementation
void updateState(S state) {
if (!isClosed) {
emit(state);
}
}
void updateState(S state) {
if (!isClosed) {
emit(state);
}
}