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