getFrameId method
Gets the ID of the main frame.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2_20.get_FrameId)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<int?> getFrameId() => platform.getFrameId();