reset
Resets state and state history to the provided state.
Parameters
state
a Session.State to set. Pending by default
notifyListeners
whether to notify listeners (including await()) with the newly set state. false by default.
Resets state and state history to the provided state.
a Session.State to set. Pending by default
whether to notify listeners (including await()) with the newly set state. false by default.