DownloadProgress class Null safety
Progress of the file that is being downloaded from the originalUrl.
- downloaded → int
Total of currently downloaded bytes.
- hashCode → int
The hash code for this object. [...]
- originalUrl → String
Url from which the file is coming.
- 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.
- runtimeType → Type
A representation of the runtime type of the object.
- totalSize → int?
Final size of the download. If total size is unknown this will be null.