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