FetchProgress class

Passed to the progress method to indicate the current progress of a download.

Properties

downloaded int
The number of bytes downloaded so far.
final
fetch FetchUrl
Details of the url that is being fetched
final
hashCode int
The hash code for this object.
no setterinherited
length int
The length (in bytes) of the file being downloaded. This isn't set until we get the initial response. In some cases it still won't be set if the remote server doesn't respond with a length.
final
progress double
a value from 0.0 to 1.0 indicating the percentage progress. You are guarneteed to get a final progress event with a value of 1.0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status FetchStatus
The current status of the downloader.
final

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