DownloadProgress class
Download progress information
Matches Swift DownloadProgress.
Constructors
- DownloadProgress({required int bytesDownloaded, required int totalBytes, required DownloadProgressState state, DownloadProgressStage stage = DownloadProgressStage.downloading})
-
const
Properties
- bytesDownloaded → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- overallProgress → double
-
Overall progress from 0.0 to 1.0
no setter
- percentage → double
-
Legacy alias for overallProgress
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stage → DownloadProgressStage
-
final
- state → DownloadProgressState
-
final
- totalBytes → int
-
final
Methods
-
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