MovaSttModelProg class
One step of progress while IMovaSttModelProvider.ensure downloads a spec's files.
IMovaSttModelProvider.ensure 下载某个 spec 的文件时的一步进度。
Constructors
- MovaSttModelProg({required String modelId, required String fileName, required int completedFiles, required int totalFiles})
-
Creates a progress step.
const
Properties
- completedFiles → int
-
How many of totalFiles are done, including this one.
final
- fileName → String
-
The file just finished (downloaded or found already cached).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelId → String
-
The MovaSttModelSpec.id this progress belongs to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalFiles → int
-
Total files in the spec being ensured.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited