isAssertionError top-level property
A matcher for AssertionError.
This is equivalent to isInstanceOf<AssertionError>()
.
See also:
- throwsAssertionError, to test if a function throws any AssertionError.
isFlutterError
, to test if any object is aFlutterError
.
Implementation
final TypeMatcher<AssertionError> isAssertionError = isA<AssertionError>();