refresh method

void refresh()

Refreshes the current page.

Implementation

void refresh() {
  if (kIsWeb) {
    _error = null;
  }
  _isLoading = true;
  if (kIsWeb) {
    webViewController.loadRequest(uri);
  } else {
    webViewController.reload();
  }
  _maybeFakeNavigationEvents(uriString);
  notifyListeners();
}