PrinterStatus class

Constructors

PrinterStatus({Uint8List? statusBytes, ErrorCode errorCode = ErrorCode.ERROR_NONE, int labelId = -1, int labelType = -1, BatteryTernary isACConnected = BatteryTernary.Unknown, BatteryTernary isBatteryMounted = BatteryTernary.Unknown, int batteryLevel = -1, int batteryResidualQuantityLevel = -1, int maxOfBatteryResidualQuantityLevel = -1})

Properties

batteryLevel int
@deprecated
getter/setter pair
batteryResidualQuantityLevel int
getter/setter pair
errorCode ErrorCode
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isACConnected BatteryTernary
getter/setter pair
isBatteryMounted BatteryTernary
getter/setter pair
labelColor LabelColor
getter/setter pair
labelFontColor LabelColor
getter/setter pair
labelId int
getter/setter pair
labelType int
getter/setter pair
maxOfBatteryResidualQuantityLevel int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLastError() ErrorCode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map map) PrinterStatus