ToolPresentationRegistry class final
Resolves tool updates through ordered rules and a generic fallback.
Callers may prepend product- or agent-specific rules while retaining the built-in rules. A rule that does not own a source returns null so the next rule can resolve it.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rules
→ UnmodifiableListView<
ToolPresentationRule> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
groupIcon(
Iterable< ToolPresentationSource> sources) → IconData -
groupSummary(
Iterable< ToolPresentationSource> sources) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepend(
Iterable< ToolPresentationRule> additions) → ToolPresentationRegistry -
resolve(
ToolPresentationSource source) → ToolActivityPresentation -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaults → ToolPresentationRegistry
-
final