DownloadProgress class

How far a download has got.

Constructors

DownloadProgress(PretrainedModel model, int receivedBytes, int? totalBytes)
const

Properties

fraction → double?
Completed fraction between 0 and 1, or null when the total is unknown.
no setter
hashCode → int
The hash code for this object.
no setterinherited
model → PretrainedModel
Which model is being fetched.
final
receivedBytes → int
Bytes written so far.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalBytes → int?
Total size reported by the server, or null when it did not say.
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