USBPrinterManager class

Constructors

USBPrinterManager(POSPrinter printer, int paperSizeWidthMM, int maxPerLine, CapabilityProfile profile, {int spaceBetweenRows = 5, int port = 9100})

Properties

hashCode int
The hash code for this object.
no setterinherited
profile CapabilityProfile
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect({Duration? timeout = const Duration(seconds: 5)}) Future<ConnectionResponse>
disconnect({Duration? timeout}) Future<ConnectionResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeBytes(List<int> data, {bool isDisconnect = true}) Future<ConnectionResponse>

Operators

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

Static Methods

discover() Future<List<USBPrinter>>