expectMatchLater method

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

Implementation

Future<T> expectMatchLater(dynamic matcher, {String? reason}) {
  return pkg_test
      .expectLater(element, matcher, reason: reason)
      .thenChain((_) => this as T);
}