onReceivedClientCertRequest property Null safety

(Future<ClientCertResponse?> Function?(InAppWebViewController controller, ClientCertChallenge challenge)?) onReceivedClientCertRequest
final

Notify the host application to handle an SSL client certificate request. Webview stores the response in memory (for the life of the application) if ClientCertResponseAction.PROCEED or ClientCertResponseAction.CANCEL is called and does not call onReceivedClientCertRequest again for the same host and port pair. Note that, multiple layers in chromium network stack might be caching the responses.

challenge contains data about host, port, protocol, realm, etc. as specified in the ClientCertChallenge.

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

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

Implementation

final Future<ClientCertResponse?> Function(
        InAppWebViewController controller, ClientCertChallenge challenge)?
    onReceivedClientCertRequest;