TcpPrinterInput class

Input model that identifies a network printer by host and port.

Inheritance

Constructors

TcpPrinterInput({required String ipAddress, int port = 9100, Duration timeout = const Duration(seconds: 5)})

Properties

hashCode → int
The hash code for this object.
no setterinherited
ipAddress → String
IPv4 address or host name of the printer.
final
port → int
Raw printing port. ESC/POS printers almost always listen on 9100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
How long TcpPrinterConnector.connect waits for the TCP handshake.
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