EqualsDart class
Implementation detail of using the equalsDart matcher.
See EqualsDart.format to specify the default source code formatter.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
describe(
Description description) → Description - Builds a textual description of the matcher.
-
describeMismatch(
covariant Spec item, Description mismatchDescription, Map matchState, bool verbose) → Description - Builds a textual description of a specific mismatch.
-
matches(
covariant Spec item, Object? matchState) → bool - Does the matching of the actual vs expected values.
-
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
Static Properties
- format ↔ String Function(String)
-
May override to provide a function to format Dart on equalsDart.
getter/setter pair