ModelFamily class abstract interface

A model family: what a model is, beyond its file — the language-model families of ModelType, the speech-to-text families of SttModelType and the text-to-speech families of TtsModelType.

ResolvedHfModel.family carries one: each installer accepts only its own family type and refuses another with an error. Embedders have no family type yet (their backends read what they need from the file).

Implemented by core's family enums (ModelType, SttModelType, TtsModelType); an installer recognises only those.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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