BaseArgMatcher class abstract
Abstract base class for single-argument matchers.
Constructors
- BaseArgMatcher()
-
Creates a base argument matcher.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeterministic → bool
-
Whether this matcher returns the same result deterministically without remote/LLM calls.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Unique matcher type discriminator.
no setter
Methods
-
match(
Object? actual) → ArgMatchResult -
Evaluates whether
actualsatisfies this matcher synchronously. -
matchAsync(
{String toolName = '', String argName = '', Object? expected, required Object? actual}) → Future< ArgMatchResult> -
Evaluates whether
actualsatisfiesexpectedasynchronously. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Serializes this matcher configuration to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited