PrinterStatus enum

PrinterStatus

This enum will give you the status of the printer. Sometimes the status can be ERROR, but don't worry about this status, always try co print anyway!

Inheritance

Constructors

PrinterStatus()
const

Values

UNKNOWN → const PrinterStatus
ERROR → const PrinterStatus
NORMAL → const PrinterStatus
ABNORMAL_COMMUNICATION → const PrinterStatus
OUT_OF_PAPER → const PrinterStatus
PREPARING → const PrinterStatus
OVERHEATED → const PrinterStatus
OPEN_THE_LID → const PrinterStatus
PAPER_CUTTER_ABNORMAL → const PrinterStatus
PAPER_CUTTER_RECOVERED → const PrinterStatus
NO_BLACK_MARK → const PrinterStatus
NO_PRINTER_DETECTED → const PrinterStatus
FAILED_TO_UPGRADE_FIRMWARE → const PrinterStatus
EXCEPTION → const PrinterStatus

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.