PrinterStatus enum
Enum representing the possible statuses of the printer.
Values
- success → const PrinterStatus
-
The printer is in a successful state.
- needsPaper → const PrinterStatus
-
The printer is out of paper.
- highTemperature → const PrinterStatus
-
The printer is experiencing a high temperature.
- lowBatteryVoltage → const PrinterStatus
-
The printer has a low battery voltage.
- unknownStatusError → const PrinterStatus
-
The printer status is unknown or an error occurred.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
Static Methods
-
fromPrinterCode(
int? code) → PrinterStatus - Converts an integer printer code to a PrinterStatus enum value.
Constants
-
values
→ const List<
PrinterStatus> - A constant List of the values in this enum, in order of their declaration.