StateNotifier<S> constructor
StateNotifier<S> (
- S initialState
Implementation
StateNotifier(S initialState) {
_state = initialState;
_oldState = _state;
}
StateNotifier(S initialState) {
_state = initialState;
_oldState = _state;
}