ModelStorageMetrics class

Storage metrics for a single model All model metadata (id, name, framework, artifactType, etc.) is in ModelInfo This class adds the on-disk storage size

Constructors

ModelStorageMetrics({required ModelInfo model, required int sizeOnDisk})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
model ModelInfo
The model info (contains id, framework, localPath, artifactType, etc.)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeOnDisk int
Actual size on disk in bytes (may differ from downloadSize after extraction)
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