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() {
  throw UnimplementedError(
      'cancel is not implemented on the current platform');
}