sleep function

Future<void> sleep(
  1. Duration duration
)

Implementation

Future<void> sleep(Duration duration) => Future.delayed(duration);