updateState method
void
updateState(
- S state
Updates the cubit's state.
state: The new state to emit.
Implementation
void updateState(S state) {
if (!isClosed) {
emit(state);
}
}
Updates the cubit's state.
state: The new state to emit.void updateState(S state) {
if (!isClosed) {
emit(state);
}
}