sleepUntilRoute method

Future<T> sleepUntilRoute(
  1. String route, {
  2. Map<String, dynamic>? parameters,
  3. bool partialParameters = false,
  4. int? timeoutMs,
  5. int? intervalMs,
  6. int? minMs,
  7. bool expected = false,
})

Implementation

Future<T> sleepUntilRoute(String route,
        {Map<String, dynamic>? parameters,
        bool partialParameters = false,
        int? timeoutMs,
        int? intervalMs,
        int? minMs,
        bool expected = false}) =>
    thenChain((o) => o.sleepUntilRoute(route,
        parameters: parameters,
        partialParameters: partialParameters,
        timeoutMs: timeoutMs,
        intervalMs: intervalMs,
        minMs: minMs,
        expected: expected));