Created by dartpad.dartlang.org.
Created
April 15, 2015 22:35
-
-
Save anonymous/480d5333f5eb765728ec to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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