TcpDevice class Null safety
- Inheritance
-
- Object
- PrinterDevice
- TcpDevice
- Annotations
-
- @JsonSerializable()
Constructors
- TcpDevice({required String ip, int port = 9100})
-
TcpDevice.fromJson(Map<
String, dynamic> json) -
factory
- TcpDevice.fromProto(TcpDevice device)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- ip ↔ String
-
read / write
- port ↔ int
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ PrinterDeviceType
-
read / write, inherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited