reload method

  1. @override
Future<void> reload()

Reloads the WebView.

NOTE for Web: if window.location.reload() is not accessible inside the iframe, it will reload using the iframe src attribute.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<void> reload() async {
  Map<String, dynamic> args = <String, dynamic>{};
  await channel?.invokeMethod('reload', args);
}