ErrorFormatter typedef Null safety

  1. @Deprecated('Will be removed in 0.13.0.')
String ErrorFormatter (
  1. dynamic actual,
  2. Matcher matcher,
  3. String? reason,
  4. Map matchState,
  5. bool verbose
)

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);