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