isInterfaceSupported method
- WebViewInterface interface
Returns true if the WebView supports the specified interface, otherwise false.
Officially Supported Platforms/Implementations:
- Windows WebView2
Parameters - Officially Supported Platforms/Implementations:
interface: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isInterfaceSupported(WebViewInterface interface) =>
platform.isInterfaceSupported(interface);