DownloadProgress class

Progress of the file that is being downloaded from the originalUrl.

Inheritance

Constructors

DownloadProgress(String originalUrl, int totalSize, int downloaded)
const

Properties

downloaded int
Total of currently downloaded bytes.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
originalUrl String
Url from which the file is coming.
final, inherited
progress double
download progress as an double between 0 and 1. When the final size is unknown or the downloaded size exceeds the total size progress is null.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalSize int
Final size of the download. If total size is unknown this will be null.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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