Downloader class

Constructors

Downloader(String url, {int chunkSize = 501001, int p = 2})
factory

Properties

client HttpClient
read / write
controller StreamController<ProcessState>
read / write
downloadUrl String
read / write
fetching bool
read / write
hashCode int
The hash code for this object.
read-onlyinherited
noError bool
read / write
processors int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
state ProcessState
read / write

Methods

downChunk(ProcessState state, int idx) Future<ProcessState>
download({OnPercentage onPercentage}) Future<ProcessState>
downStream() Future<Stream<ProcessState>>
markFinished() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
processor(ProcessState state, int pid, int pcount) Future
toString() String
A string representation of this object.
inherited

Operators

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