void main() async { print('Started at ${DateTime.now()}'); final time = await Future.delayed(Duration(seconds: 2)).then((value) => DateTime.now()); print('Awaited time was at $time'); }