StateNotifier<S> constructor

StateNotifier<S>(
  1. S initialState
)

Implementation

StateNotifier(S initialState) {
  _state = initialState;
  _oldState = _state;
}