getFrameId method

Future<int?> getFrameId()

Gets the ID of the main frame.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<int?> getFrameId() => platform.getFrameId();