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