sleep method
Sleeps for a specified number of seconds.
Optionally accepts microseconds for finer control.
Implementation
Future<void> sleep(int seconds, [int microseconds = 0]) async {
await Future.delayed(Duration(
seconds: seconds,
microseconds: microseconds,
));
}