DataTask class

Constructors

DataTask(int id, DataTaskType type, String localPath, Int64 offset, String serverAddr, FileInfo fileInfo, {bool shouldTruncate = false, int bufferSize = 4096})

Properties

bufferSize int
getter/setter pair
downBytes int
getter/setter pair
fileInfo FileInfo
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
innerTask Future
getter/setter pair
localPath String
getter/setter pair
offset ↔ Int64
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverAddr String
getter/setter pair
shouldTruncate bool
getter/setter pair
startAt DateTime
getter/setter pair
type DataTaskType
getter/setter pair

Methods

downloadData() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendID() Future
startAsync() Future
toString() String
A string representation of this object.
inherited
uploadData() Future
Wait() Future

Operators

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