ParameterizedTypeMatcher class
This is created to address the problem in TypeMatcher/isA. TypeMatcher does not accept a type parameter. Instead it accepts type as a generic.
Constructors
- ParameterizedTypeMatcher(Type type)
-
const
Properties
Methods
-
describe(
Description description) → Description -
Builds a textual description of the matcher.
override
-
describeMismatch(
dynamic item, Description mismatchDescription, Map matchState, bool verbose) → Description -
Builds a textual description of a specific mismatch.
inherited
-
matches(
dynamic item, Map matchState) → bool -
Does the matching of the actual vs expected values.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited