replace method
void
replace(
- S state
Replace global state with a state from parameter state
Implementation
void replace(S state) => emit(state);
Replace global state with a state from parameter state
void replace(S state) => emit(state);