setOnWebResourceError method

  1. @override
Future<void> setOnWebResourceError(
  1. WebResourceErrorCallback onWebResourceError
)

Invoked when a resource loading error occurred.

See PlatformWebViewController.setPlatformNavigationDelegate.

Implementation

@override
Future<void> setOnWebResourceError(
  WebResourceErrorCallback onWebResourceError,
) async {
  _onWebResourceError = onWebResourceError;
}