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