clearMatches method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
  2. @Deprecated("Use FindInteractionController.clearMatches instead")
Future<void> clearMatches()

Use PlatformFindInteractionController.clearMatches instead.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

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

Implementation

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()],
)
@Deprecated("Use FindInteractionController.clearMatches instead")
Future<void> clearMatches() {
  throw UnimplementedError(
    '${PlatformInAppWebViewControllerMethod.clearMatches.name} is not implemented on the current platform',
  );
}