expectLater method

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

Implementation

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