delay property

Future<void> get delay

await Duration(seconds: 1).delay();

Implementation

Future<void> get delay => Future.delayed(this);