PrintJobResolution class

Class representing the supported resolution in DPI (dots per inch) for a PlatformPrintJobController. Resolution defines how many points with different color can be placed on one inch in horizontal or vertical direction of the target media. For example, a printer with 600 DPI can produce higher quality images the one with 300 DPI resolution.

Constructors

PrintJobResolution({required int horizontalDpi, required String id, required String label, required int verticalDpi})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalDpi int
The horizontal resolution in DPI (dots per inch).
final
id String
The unique resolution id.
final
label String
The human readable label.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verticalDpi int
The vertical resolution in DPI (dots per inch).
final

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) PrintJobResolution?
Gets a possible PrintJobResolution instance from a Map value.