sleep method

Future<T> sleep({
  1. int? frames,
  2. int? ms,
})

Alias to testUISleep.

Implementation

Future<T> sleep({int? frames, int? ms}) =>
    _chainCapture(() => _sleepImpl(frames, ms));