Throws class Null safety
Use the throwsA function instead.
- Inheritance
- Annotations
-
- @Deprecated('Will be removed in 0.13.0')
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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
-
matchAsync(
dynamic item) → dynamic -
Returns
null
if this matchesitem
, or a String description of the failure if it doesn't match. -
matches(
dynamic item, Map matchState) → bool -
Does the matching of the actual vs expected values.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited