DownloadProgress class
Constructors
- DownloadProgress({required dynamic downloadId, required int progress, required DownloadStatus status, String? filePath, StatusReason? statusReason})
- A class that represents the download progress and status
Properties
- downloadId → dynamic
-
Download task identifier.
final
- filePath ↔ String?
-
Downloaded file path
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- progress → int
-
File download progress in percentage from 0 to 100
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → DownloadStatus
-
Download task status as a DownloadStatus
final
- statusReason ↔ StatusReason?
-
Download status reason. This is only available when the download status is failed (or paused on Android).
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited