androidOnRenderProcessGone property Null safety

(void Function?(InAppWebViewController controller, RenderProcessGoneDetail detail)?) androidOnRenderProcessGone
final

Event fired when the given WebView's render process has exited. The application's implementation of this callback should only attempt to clean up the WebView. The WebView should be removed from the view hierarchy, all references to it should be cleaned up.

detail the reason why it exited.

NOTE: available only on Android 26+.

Official Android API: https://developer.android.com/reference/android/webkit/WebViewClient#onRenderProcessGone(android.webkit.WebView,%20android.webkit.RenderProcessGoneDetail)

Implementation

final void Function(
        InAppWebViewController controller, RenderProcessGoneDetail detail)?
    androidOnRenderProcessGone;