PrintJobInfo class
Class representing the description of a PlatformPrintJobController. Note that the print jobs state may change over time and this class represents a snapshot of this state.
Constructors
- PrintJobInfo({PrintJobAttributes? attributes, bool? canSpawnSeparateThread, int? copies, int? creationTime, int? currentPage, int? firstPage, bool? isCopyingOperation, String? label, int? lastPage, int? numberOfPages, PrintJobPageOrder? pageOrder, PrintJobRenderingQuality? preferredRenderingQuality, Printer? printer, bool? showsPrintPanel, bool? showsProgressPanel, PrintJobState? state})
Properties
- attributes ↔ PrintJobAttributes?
-
The attributes of a print job.
getter/setter pair
- canSpawnSeparateThread ↔ bool?
-
Whether the print operation should spawn a separate thread in which to run itself.
getter/setter pair
- copies ↔ int?
-
How many copies to print.
getter/setter pair
- creationTime ↔ int?
-
The timestamp when the print job was created.
getter/setter pair
- currentPage ↔ int?
-
The current page number being previewed or printed.
getter/setter pair
- firstPage ↔ int?
-
An integer value that specifies the first page in the print job.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCopyingOperation ↔ bool?
-
A Boolean value that indicates whether the print operation is an EPS or PDF copy operation.
It's
true
if the receiver is an EPS or PDF copy operation; otherwise,false
.getter/setter pair - label ↔ String?
-
The human readable print job label.
getter/setter pair
- lastPage ↔ int?
-
An integer value that specifies the last page in the print job.
getter/setter pair
- numberOfPages ↔ int?
-
The number of pages to print.
getter/setter pair
- pageOrder ↔ PrintJobPageOrder?
-
The page order that will be used to generate the pages in this job.
This is the physical page order of the pages.
It depends on the stacking order of the printer, the capability of the app to reverse page order, etc.
getter/setter pair
- preferredRenderingQuality ↔ PrintJobRenderingQuality?
-
The printing quality.
getter/setter pair
- printer ↔ Printer?
-
The printer object to be used for printing.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showsPrintPanel ↔ bool?
-
Whether the print panel is shown during the operation.
getter/setter pair
- showsProgressPanel ↔ bool?
-
Whether the progress panel is shown during the operation.
getter/setter pair
- state ↔ PrintJobState?
-
The state of the print job.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → PrintJobInfo? - Gets a possible PrintJobInfo instance from a Map value.