instead of await Future.delayed(const Duration(seconds:2));
await Future.delayed(const Duration(seconds:2));
Future<void> twoSeconds() => forSeconds(2);