getIFrameId method

  1. @SupportedPlatforms.new(platforms: [WebPlatform()])
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

@SupportedPlatforms(platforms: [WebPlatform()])
Future<String?> getIFrameId() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.getIFrameId.name} is not implemented on the current platform',
  );
}