onConsoleMessage property Null safety

(void Function?(InAppWebViewController controller, ConsoleMessage consoleMessage)?) onConsoleMessage
final

Event fired when the WebView receives a ConsoleMessage.

Official Android API: https://developer.android.com/reference/android/webkit/WebChromeClient#onConsoleMessage(android.webkit.ConsoleMessage)

Implementation

final void Function(
        InAppWebViewController controller, ConsoleMessage consoleMessage)?
    onConsoleMessage;