onLoadError property Null safety

(void Function?(InAppWebViewController controller, Uri? url, int code, String message)?) onLoadError
final

Event fired when the WebView encounters an error loading an url.

Official Android API: https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedError(android.webkit.WebView,%20int,%20java.lang.String,%20java.lang.String)

Official iOS API: https://developer.apple.com/documentation/webkit/wknavigationdelegate/1455623-webview

Implementation

final void Function(InAppWebViewController controller, Uri? url, int code,
    String message)? onLoadError;