cancel method

  1. @SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform(available: '14.5'), MacOSPlatform(available: '11.3'), WindowsPlatform()])
Future<void> cancel()

Cancels the native download.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(available: '14.5'),
    MacOSPlatform(available: '11.3'),
    WindowsPlatform(),
  ],
)
Future<void> cancel() {
  throw UnimplementedError(
    'cancel is not implemented on the current platform',
  );
}