PrintJobDuplexMode class

Class representing the orientation of a PlatformPrintJobController.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() → int?
Gets int? native value.
toString() → String
A string representation of this object.
override
toValue() → String
Gets String value.

Operators

operator ==(Object value) → bool
The equality operator.
override

Static Properties

LONG_EDGE → PrintJobDuplexMode
Duplex printing that flips the back page along the long edge of the paper. Pages are turned sideways along the long edge - like a book.
final
NONE → PrintJobDuplexMode
No double-sided (duplex) printing; single-sided printing only.
final
SHORT_EDGE → PrintJobDuplexMode
Duplex print that flips the back page along the short edge of the paper. Pages are turned upwards along the short edge - like a notepad.
final
values → Set<PrintJobDuplexMode>
Set of all values of PrintJobDuplexMode.
final

Static Methods

fromNativeValue(int? value) → PrintJobDuplexMode?
Gets a possible PrintJobDuplexMode instance from a native value.
fromValue(String? value) → PrintJobDuplexMode?
Gets a possible PrintJobDuplexMode instance from String value.