sleep function
Sleep for a given amount of seconds.
Implementation
sleep(int seconds) async {
await Future.delayed(Duration(seconds: seconds));
}
Sleep for a given amount of seconds.
sleep(int seconds) async {
await Future.delayed(Duration(seconds: seconds));
}