stopLoading method Null safety

Future<void> stopLoading()

Stops the WebView from loading.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#stopLoading()

Official iOS API: https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading

Implementation

Future<void> stopLoading() async {
  Map<String, dynamic> args = <String, dynamic>{};
  await _channel.invokeMethod('stopLoading', args);
}