onComplete property
A completion handler used to handle the conclusion of the print job (for instance, to reset state) and to handle any errors encountered in printing.
Officially Supported Platforms/Implementations:
Implementation
final PrintJobCompletionHandler? onComplete;