A model in a catalog: what to show and how to group it. What to install is on its variants.
Engines extend this with their own final classes; an app reads them from
FlutterEdgeAi.catalog or from an engine package's catalog.
Constructors
- CatalogModel()
-
For subclasses.
const
Properties
- archClass → String
-
The kind of architecture:
dense,matformer-ple,vision-language,encoder.no setter - displayName → String
-
The name to show.
no setter
- family → String
-
The model family, for grouping:
gemma4,qwen3.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Shared by every package that offers this model:
gemma-4-e2b-it.no setter - license → String
-
The license, as its SPDX-like id:
apache-2.0,gemma.no setter - licenseUrl → String
-
Where the license text is.
no setter
- parametersB → double?
-
Parameters in billions, when known.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variants
→ List<
CatalogVariant> -
The installable variants, in the order the catalog prefers them.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
variantFor(
{PreferredBackend? backend, NpuTarget? npu}) → CatalogVariant? - The variant to install for this runtime, or null when none can run here.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited