throwsFlutterError top-level property
final
A matcher for functions that throw FlutterError.
This is equivalent to throwsA(isInstanceOf<FlutterError>())
.
See also:
- throwsAssertionError, to test if a function throws any AssertionError.
- throwsArgumentError, to test if a functions throws an ArgumentError.
- isFlutterError, to test if any object is a FlutterError.
Implementation
final Matcher throwsFlutterError = throwsA(isFlutterError)