ModelFileType class

Model file type and quantization metadata for a loaded model.

For llama.cpp/GGUF models, id is the native llama_ftype enum value and name is the human-readable value returned by llama_ftype_name, such as Q8_0 or Q4_K - Medium.

Constructors

ModelFileType({required int id, required String name})
Creates a new ModelFileType.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
id → int
Native model file type identifier.
final
name → String
Human-readable model file type name.
final
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.
override