PrintJobInfo constructor
PrintJobInfo({
- required String id,
- required String title,
- required PrintJobSource source,
- String? sourceId,
- required PrintJobStatus status,
- required double creationTime,
- required double completionTime,
- required Printer printer,
- required PrintSettings settings,
- required int numberOfPages,
- required PrinterStatus printerStatus,
Implementation
PrintJobInfo({
/// The ID of the job.
required String id,
/// The title of the document which was printed.
required String title,
/// Source showing who initiated the print job.
required PrintJobSource source,
/// ID of source. Null if source is PRINT_PREVIEW or ANDROID_APP.
String? sourceId,
/// The final status of the job.
required PrintJobStatus status,
/// The job creation time (in milliseconds past the Unix epoch).
required double creationTime,
/// The job completion time (in milliseconds past the Unix epoch).
required double completionTime,
/// The info about the printer which printed the document.
required Printer printer,
/// The settings of the print job.
required PrintSettings settings,
/// The number of pages in the document.
required int numberOfPages,
/// The status of the printer.
required PrinterStatus printerStatus,
}) : _wrapped = $js.PrintJobInfo(
id: id,
title: title,
source: source.toJS,
sourceId: sourceId,
status: status.toJS,
creationTime: creationTime,
completionTime: completionTime,
printer: printer.toJS,
settings: settings.toJS,
numberOfPages: numberOfPages,
printer_status: printerStatus.toJS,
);