onLongPressHitTestResult property Null safety

(void Function?(InAppWebViewController controller, InAppWebViewHitTestResult hitTestResult)?) onLongPressHitTestResult
final

Event fired when an HTML element of the webview has been clicked and held.

hitTestResult represents the hit result for hitting an HTML elements.

Official Android API: https://developer.android.com/reference/android/view/View#setOnLongClickListener(android.view.View.OnLongClickListener)

Official iOS API: https://developer.apple.com/documentation/uikit/uilongpressgesturerecognizer

Implementation

final void Function(InAppWebViewController controller,
    InAppWebViewHitTestResult hitTestResult)? onLongPressHitTestResult;