FlutterThermalPrinterNetwork class
Constructors
- FlutterThermalPrinterNetwork.new(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< NetworkPrintResult> -
disconnect(
{Duration? timeout}) → Future< NetworkPrintResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printTicket(
List< int> data, {bool isDisconnect = true}) → Future<NetworkPrintResult> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited