stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  if (is_init == false) {
    return;
  }
  if (is_mobile) {
    await webview_mobile_controller.runJavaScript("window.stop();");
  }
  if (is_desktop) {
    await webview_desktop_controller.stop();
  }
}