reset
void
reset(
Reset history and start fresh.
Implementation
void reset() {
final currentState = _store?.getState();
_history
..clear()
..add(currentState as S);
_currentIndex = 0;
}
void
reset(
Reset history and start fresh.
void reset() {
final currentState = _store?.getState();
_history
..clear()
..add(currentState as S);
_currentIndex = 0;
}