initialState property
St
initialState
Returns the state as it was when the action was dispatched.
It can be the same or different from this.state
, which is the current state in the store,
because other actions may have changed the current state since this action was dispatched.
In the case of SYNC actions that do not dispatch other SYNC actions,
this.state
and this.initialState
will be the same.
Implementation
St get initialState => _initialState;