expectMatch method

Future<T> expectMatch(
  1. dynamic matcher, {
  2. String? reason,
})

Implementation

Future<T> expectMatch(dynamic matcher, {String? reason}) =>
    thenChain((o) => o.expectMatch(matcher, reason: reason));