EngineRegistry class

Holds inference engines registered via FlutterGemma.initialize. Selection is a probe-chain: the registered engine with the highest InferenceEngineProvider.priority whose InferenceEngineProvider.canHandle is true wins (first-registered breaks ties). No central file-type map — third-party engines self-select.

Properties

hashCode int
The hash code for this object.
no setterinherited
registered List<InferenceEngineProvider>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findFor(InferenceModelSpec spec) InferenceEngineProvider?
First engine (by descending priority, then registration order) whose InferenceEngineProvider.canHandle accepts spec; null if none.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAll(List<InferenceEngineProvider> engines) → void
reset() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance EngineRegistry
final