cancel method
Cancels this print job. You can request cancellation of a queued, started, blocked, or failed print job.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - PrintJob.cancel)
Implementation
@override
Future<void> cancel() async {
Map<String, dynamic> args = <String, dynamic>{};
await channel?.invokeMethod('cancel', args);
}