DownloaderCore class

Class used to set/get any component from DownloaderUtils also required to actually start,stop,pause,cancel a download.

Constructors

DownloaderCore(StreamSubscription inner, DownloaderUtils options, String url)

Properties

hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
Check if the download was cancelled.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() Future<void>
Cancel any current download, even if the download is pause
download(String url, DownloaderUtils options) Future<DownloaderCore>
Start a new download however, this download can only be access through DownloaderCore
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pause any current download.
resume() Future<void>
Resume any current download, with the pending progress.
toString() String
A string representation of this object.
inherited

Operators

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