delay property

Future<void> delay

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

Implementation

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