sleep function

Future<void> sleep(
  1. int ms
)

Helper for a simple pause à la C.

Implementation

Future<void> sleep(int ms) => Future<void>.delayed(Duration(milliseconds: ms));