ErrorFormatter typedef

  1. @Deprecated('Will be removed in 0.13.0.')
ErrorFormatter = String Function(Object? actual, Matcher matcher, String? reason, Map matchState, 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(Object? actual, Matcher matcher,
    String? reason, Map matchState, bool verbose);