cancel method

Future<void> cancel()

Cancels this print job. You can request cancellation of a queued, started, blocked, or failed print job.

Officially Supported Platforms/Implementations:

Implementation

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