waitFor<T> function
Implementation
Future<T> waitFor<T>(FutureOr<T> Function() condition,
{Object? matcher,
Duration timeout = defaultTimeout,
Duration interval = defaultInterval}) =>
clock.waitFor<T>(condition,
matcher: matcher, timeout: timeout, interval: interval);