go method
Moves within the history stack by delta entries.
Implementation
@override
void go(int delta) {
action = .pop;
index = clampIndex(index + delta);
final event = HistoryEvent(
action: action,
location: location,
delta: delta,
);
for (final e in listeners) {
e(event);
}
}