NetConn class

Constructors

NetConn(String address, int addressPort)

Properties

address → String
final
addressPort → int
final
connected → bool
no setter
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({int port = 9100, Duration? timeout = const Duration(seconds: 5), bool canRetry = true, bool throwError = false}) → Future<bool>
disconnect() → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → Future<bool>
toString() → String
A string representation of this object.
inherited
writeBytes(List<int> data, {bool isDisconnect = true}) → Future<int>
writeMultiBytes(List<List<int>> data, {bool isDisconnect = true}) → Future<int>

Operators

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