delay method

Future<void> delay()

Waits this long. await 2.seconds.delay()

Implementation

Future<void> delay() => Future<void>.delayed(this);