goTo method
Navigates to a WebHistoryItem from the back-forward WebHistory.list and sets it as the current item.
Implementation
Future<void> goTo({required WebHistoryItem historyItem}) async {
if (historyItem.offset != null) {
await goBackOrForward(steps: historyItem.offset!);
}
}