DataTransmit<T> class

Constructors

DataTransmit({required T data, ProgressCallback? progressCallback, CancelToken? cancelToken})

Properties

cancelToken ↔ CancelToken?
You can cancel a request by using a cancel token. One token can be shared with different requests. when a token's cancel method invoked, all requests with this token will be cancelled.
getter/setter pair
data ↔ T
Data to transmit
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
progressCallback ↔ ProgressCallback?
Callback to listen the progress for sending/receiving data.
getter/setter pair
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