onComplete property
PrintJobCompletionHandler?
get
onComplete
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
PrintJobCompletionHandler? get onComplete => platform.onComplete;
set
onComplete
(PrintJobCompletionHandler? handler)
Implementation
void set onComplete(PrintJobCompletionHandler? handler) {
platform.onComplete = handler;
}