PrinterStatus enum
An enum to indicate the current status of the printer. The isPrinterOk
getter returns true
only if the printer is functioning properly without any issues.
- Inheritance
- Available extensions
Values
- printerOk → const PrinterStatus
- outOfPaper → const PrinterStatus
- overheat → const PrinterStatus
- unknownError → const PrinterStatus
- unknownStatus → const PrinterStatus
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isPrinterOk → bool
-
Available on PrinterStatus, provided by the PrinterStatusExtension extension
no setter - label → String
-
Available on PrinterStatus, provided by the PrinterStatusExtension extension
no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PrinterStatus> - A constant List of the values in this enum, in order of their declaration.