SkillExecutorRegistry class
Holds skill executors registered via FlutterEdgeAi.initialize
(skillExecutors:). Same probe-chain selection as EngineRegistry /
EmbeddingRegistry: the registered executor with the highest
SkillExecutorProvider.priority whose SkillExecutorProvider.canExecute
returns true for a skill type wins (first-registered breaks ties). There is
no central type map — the opt-in flutter_edge_ai_agent executors self-select.
Core owns only this registry + the SkillExecutorProvider contract; the
concrete SkillExecutor base and SkillResult types live in the agent
package, keeping core dependency-free.
Properties
- hasAny → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
registered
→ List<
SkillExecutorProvider> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findFor(
String skillType) → SkillExecutorProvider? -
First executor (by descending priority, then registration order) whose
SkillExecutorProvider.canExecute accepts
skillType; null if none. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAll(
List< SkillExecutorProvider> executors) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → SkillExecutorRegistry
-
final