SyniModelSpec class

Constructors

SyniModelSpec({required String id, required String filename, required String downloadUrl, required String tokenizerUrl, required String sha256, required int approxBytes})
const
SyniModelSpec.fromManifest(String id, Map<String, dynamic> local)
Parse the local block of a /v1/models manifest entry. The model id lives at the parent entry level, so it is passed in separately.
factory

Properties

approxBytes int
Approximate file size in bytes — for UI progress + capability gating.
final
downloadUrl String
HTTPS URL the GGUF model downloads from. MUST be https.
final
filename String
Filename used on disk (typically <id>.gguf).
final
hashCode int
The hash code for this object.
no setterinherited
id String
Stable identifier (e.g. qwen2.5-1.5b-instruct-q4_k_m). Used as the local filename root inside the syni cache directory.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha256 String
Lowercase hex SHA-256 of the downloaded GGUF. Verification fails the install if mismatched. Empty string skips verification (V1 only).
final
tokenizerUrl String
HTTPS URL for the matching tokenizer.json. The candle backend loads the tokenizer from a tokenizer.json sibling of the GGUF file, so the installer places it there. MUST be https.
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