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