FileDownloader class
Constructors
- FileDownloader.new({required String downloadUrl, required File destinationFile})
Properties
- destinationFile ↔ File
-
getter/setter pair
- dio ↔ Dio
-
getter/setter pair
- downloadUrl ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onFileDownloadListener ↔ OnFileDownloadListener?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → dynamic
-
no setter
Methods
-
cancel(
) → void -
download(
) → Future< Result< int, Exception> > -
isCancelled(
) → bool -
isDownloading(
) → bool -
isFailed(
) → bool -
isSuccessful(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited