ModelInfo class

Information about a LEAP SDK model bundle.

Contains metadata for downloadable LFM2 models including file details, display name, estimated size, and download URL.

Constructors

ModelInfo({required String fileName, required String displayName, required String size, required String url})
const
ModelInfo.fromMap(Map<String, dynamic> map)
factory

Properties

displayName String
Human-readable display name for the model
final
fileName String
The actual filename of the model bundle
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size String
Estimated size of the model (e.g., "322 MB")
final
url String
Direct download URL for the model bundle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited