webViewIdentifier property

int webViewIdentifier

Identifier used to retrieve the underlying native WKWebView.

This is typically used by other plugins to retrieve the native WKWebView from an FWFInstanceManager.

See Objective-C method FLTWebViewFlutterPlugin:webViewForIdentifier:withPluginRegistry.

Implementation

int get webViewIdentifier =>
    _webKitParams._instanceManager.getIdentifier(_webView)!;