DownloadManager class
Manages multiple sub-processes for distributed downloads.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addToDownloadQueue(
String url, String filePath) → Future< Completer< void> > - Add a download request to the download queue.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → void - Shuts down all DownloadManager and all sub-processes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initialize(
int processCount) → Future< DownloadManager> - Initialize the DownloadManager with a given number of sub-processes.