PrinterNetworkManager class Null safety

Constructors

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

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

connect({Duration? timeout = const Duration(seconds: 5)}) Future<PosPrintResult>
disconnect({Duration? timeout}) Future<PosPrintResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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