PrinterStatus enum Null safety

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!

Constants

ABNORMAL_COMMUNICATION → const PrinterStatus
const PrinterStatus(3)
ERROR → const PrinterStatus
const PrinterStatus(1)
EXCEPTION → const PrinterStatus
const PrinterStatus(13)
FAILED_TO_UPGRADE_FIRMWARE → const PrinterStatus
const PrinterStatus(12)
NO_BLACK_MARK → const PrinterStatus
const PrinterStatus(10)
NO_PRINTER_DETECTED → const PrinterStatus
const PrinterStatus(11)
NORMAL → const PrinterStatus
const PrinterStatus(2)
OPEN_THE_LID → const PrinterStatus
const PrinterStatus(7)
OUT_OF_PAPER → const PrinterStatus
const PrinterStatus(4)
OVERHEATED → const PrinterStatus
const PrinterStatus(6)
PAPER_CUTTER_ABNORMAL → const PrinterStatus
const PrinterStatus(8)
PAPER_CUTTER_RECOVERED → const PrinterStatus
const PrinterStatus(9)
PREPARING → const PrinterStatus
const PrinterStatus(5)
UNKNOWN → const PrinterStatus
const PrinterStatus(0)
values → const List<PrinterStatus>

A constant List of the values in this enum, in order of their declaration.

const List<PrinterStatus>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited