thenExpectLater function

Future<void> thenExpectLater(
  1. String description,
  2. dynamic actual,
  3. dynamic matcher, {
  4. String? reason,
  5. dynamic skip,
})

Implementation

Future<void> thenExpectLater(
  String description,
  dynamic actual,
  dynamic matcher, {
  String? reason,
  dynamic skip, // true or a String
}) async {
  return await then(
    description,
    () async => await expectLater(actual, matcher, reason: reason, skip: skip),
  );
}