sleepUntil method
Alias to testUISleepUntil.
Implementation
Future<T> sleepUntil(FutureOr<bool> Function() ready,
{String readyTitle = 'ready',
int? timeoutMs,
int? intervalMs,
int? minMs}) =>
testUISleepUntil(ready,
readyTitle: readyTitle,
timeoutMs: timeoutMs,
intervalMs: intervalMs,
minMs: minMs)
.thenChain((_) => this as T);