getIFrameId method

Future<String?> getIFrameId()

Returns the iframe id attribute used on the Web platform.

Officially Supported Platforms/Implementations:

  • Web <iframe> but requires same origin

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

Implementation

Future<String?> getIFrameId() => platform.getIFrameId();