cancel method

Future<void> cancel()

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView 14.5+
  • macOS WKWebView 11.3+
  • Windows WebView2

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

Implementation

Future<void> cancel() => platform.cancel();