ReviewsLookupTool<T extends ZorphyEntityBase<Object?> > class
final
The reviews tool over the same store (issue #2256).
Reviews are entities of type T keyed by the product they belong to, so
the tool answers from the store and returns no facts when the store holds
none — never from a second, ad-hoc review buffer.
Constructors
- ReviewsLookupTool({required ZfaStore store, required ZfaTypeRegistry registry})
-
Creates a reviews tool over
storeandregistry.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- registry → ZfaTypeRegistry
-
The registry that resolves
T's descriptor and wire codec.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → ZfaStore
-
The store the tool reads from.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reviews(
{required Map< String, Object?> args}) → AgentToolResult -
Resolves the reviews held for the
idargument. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited