DownloadProcess class
Run background downloads in a separate process.
Notes
- Process goes like this:
initialize
--->_isolateSetup
--event-loop-->_downloadFile
--event-loop-->_isolateSetup
-->verifyRequestProcessing
.
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 url to the download queue.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → void - Shuts down the Downloader.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initialize(
) → Future< DownloadProcess> - Create a DownloadProcess instance.