setOnJavaScriptAlertDialog method

Future<void> setOnJavaScriptAlertDialog(
  1. Future<void> onJavaScriptAlertDialog(
    1. JavaScriptAlertDialogRequest request
    )
)

Sets a callback that notifies the host application that the web page wants to display a JavaScript alert() dialog.

Implementation

Future<void> setOnJavaScriptAlertDialog(
    Future<void> Function(JavaScriptAlertDialogRequest request)
        onJavaScriptAlertDialog) async {
  throw UnimplementedError(
    'setOnJavaScriptAlertDialog is not implemented on the current platform',
  );
}