goTo method
Makes browser go to the specified URI.
If the URL is the same, does nothing.
Implementation
void goTo(String uri) {
if (uri != uriString) {
if (kIsWeb) {
_error = null;
}
_isLoading = true;
final parsedUri = Uri.parse(uri);
_webViewController.loadRequest(parsedUri);
_uriString = uri;
_canGoBack = true;
_canGoForward = false;
_maybeFakeNavigationEvents(uri);
notifyListeners();
}
}