ModelInfo class

Information about a downloaded or loaded model.

Constructors

ModelInfo({required OCRModule module, required String version, String? versionId, required bool isLoaded})
const
ModelInfo.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
Whether currently loaded in memory
final
module OCRModule
The OCRModule instance
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
Model version string (date-based, e.g., "2025-05-05")
final
versionId String?
Unique model version identifier from backend
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