jumpTo
void
jumpTo(
Jump to a specific index in history.
Implementation
void jumpTo(int index) {
if (index < 0 || index >= _history.length) {
throw RangeError('Index $index is out of bounds [0, ${_history.length})');
}
_currentIndex = index;
_notifyStore();
}