sleepUntilRoutes method

Future<T> sleepUntilRoutes(
  1. List<String> routes, {
  2. int? timeoutMs,
  3. int? intervalMs,
  4. int? minMs,
  5. bool expected = false,
})

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);