Skip to content

Instantly share code, notes, and snippets.

@kasperpeulen
Forked from anonymous/main.dart
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasperpeulen/c892edaf7426a98982ae to your computer and use it in GitHub Desktop.
Save kasperpeulen/c892edaf7426a98982ae to your computer and use it in GitHub Desktop.

cold-wildflower

Created by dartpad.dartlang.org.

import 'dart:async' show Future;
/// This method answers the ultimate question.
Future doAwesomeThing() => new Future.value(42);
main() async {
var result = await doAwesomeThing();
print(result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment