sleepUntilRoutes method
Alias to testUISleepUntilRoutes.
Implementation
Future<T> sleepUntilRoutes(List<String> routes,
{int? timeoutMs,
int? intervalMs,
int? minMs,
bool expected = false}) =>
testUISleepUntilRoutes(routes,
timeoutMs: timeoutMs,
intervalMs: intervalMs,
minMs: minMs,
expected: expected)
.thenChain((_) => this as T);