Skip to content

Instantly share code, notes, and snippets.

Created April 15, 2015 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/480d5333f5eb765728ec to your computer and use it in GitHub Desktop.
Save anonymous/480d5333f5eb765728ec to your computer and use it in GitHub Desktop.
Untitled

Untitled

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