Printer class
Constructors
-
Printer({required String name, required PrinterStatus status, required String hot, required String version, required String id, required String cutter, required String density, required String distance, required String gray, required String paper, required String type, required Future<
PrinterStatus> getStatus(), required Future<void> openCashDrawer(), required Future<bool> isCashDrawerOpen(), required Future<void> printEscPosCommands(Uint8List commands), required Future<void> waitForCashDrawerClose()})
Properties
- cutter → String
-
final
- density → String
-
final
- distance → String
-
final
-
getStatus
→ Future<
PrinterStatus> Function() -
final
- gray → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hot → String
-
final
- id → String
-
final
-
isCashDrawerOpen
→ Future<
bool> Function() -
final
- name → String
-
final
-
openCashDrawer
→ Future<
void> Function() -
final
- paper → String
-
final
-
printEscPosCommands
→ Future<
void> Function(Uint8List commands) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PrinterStatus
-
final
- type → String
-
final
- version → String
-
final
-
waitForCashDrawerClose
→ Future<
void> Function() -
final
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