isLeftThat class
Matcher that tries to extract the left value of an Either
instance to match
it against matcher
The test fails if the actual value is a Right
Constructors
- isLeftThat(dynamic matcher)
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.
inherited
-
describeMismatch(
Object? item, Description mismatchDescription, Map matchState, bool verbose) → Description -
Builds a textual description of a specific mismatch.
inherited
-
featureValueOf(
dynamic actual) → Object? - Override this to extract the interesting feature.
-
matches(
Object? item, Map matchState) → bool -
Does the matching of the actual vs expected values.
inherited
-
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