DownloadProgress class

Reports download progress during model download.

Constructors

DownloadProgress({required ModelClass modelClass, required ModelSize modelSize, required double progress})
const
DownloadProgress.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
modelClass ModelClass
The module being downloaded
final
modelSize ModelSize
final
progress double
Normalized progress from 0.0 to 1.0
final
progressPercent int
Progress as percentage (0-100)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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