cancelJob method
Cancels previously submitted job. |jobId|: The id of the print job to cancel. This should be the same id received in a SubmitJobResponse.
Implementation
Future<void> cancelJob(String jobId) async {
await promiseToFuture<void>($js.chrome.printing.cancelJob(jobId));
}