TcpDevice class Null safety

Inheritance
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

identify() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toProto() TcpDevice
toString() String
A string representation of this object.
override

Operators

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