sleepUntilRoute method
Alias to testUISleepUntilRoute.
Implementation
Future<T> sleepUntilRoute(String route,
{Map<String, dynamic>? parameters,
bool partialParameters = false,
int? timeoutMs,
int? intervalMs,
int? minMs,
bool expected = false}) =>
testUISleepUntilRoute(route,
parameters: parameters,
partialParameters: partialParameters,
timeoutMs: timeoutMs,
intervalMs: intervalMs,
minMs: minMs,
expected: expected)
.thenChain((_) => this as T);