threeSeconds function

Future<void> threeSeconds()

instead of await Future.delayed(const Duration(seconds:3));

Implementation

Future<void> threeSeconds() => forSeconds(3);