clearCache method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
- @Deprecated("Use InAppWebViewController.clearAllCache instead")
Use PlatformInAppWebViewController.clearAllCache 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 InAppWebViewController.clearAllCache instead")
Future<void> clearCache() {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.clearCache.name} is not implemented on the current platform',
);
}