ZwRequest<T> class

Inheritance

Constructors

ZwRequest(Logger logger, int nodeId, List<int> data, {T processResponse(List<int> data)?, Duration responseTimeout = const Duration(seconds: 5), Object? resultKey, Duration resultTimeout = const Duration(seconds: 5)})
Construct a request to be sent to a device.

Properties

completer Completer<T>
final
data List<int>
final
functId int
no setter
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
nodeId int
final
processResponse → (T Function(List<int> data)?)
final
responseTimeout Duration
final
resultEndTime DateTime?
Used by ZwManager to cache the time at which the manager should stop waiting for a result/response from the device.
getter/setter pair
resultKey Object?
final
resultTimeout Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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