PrinterNetworkManager class

Constructors

PrinterNetworkManager(String host, {int port = 9100, Duration timeout = const Duration(seconds: 5)})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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