addDelay function

Future addDelay({
  1. required int seconds,
})

Implementation

Future addDelay({required int seconds}) async {
  return Future.delayed(Duration(seconds: seconds));
}