ErrorFormatter typedef Null safety
- @Deprecated('Will be removed in 0.13.0.')
The type used for functions that can be used to build up error reports upon failures in expect.
Implementation
@Deprecated('Will be removed in 0.13.0.')
typedef ErrorFormatter = String Function(dynamic actual, Matcher matcher,
String? reason, Map matchState, bool verbose);