-
-
Save Sfshaza/405379bacf30335f3aed to your computer and use it in GitHub Desktop.
ch02
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
class WannabeFunction { | |
call(String a, String b, String c) => '$a $b $c!'; | |
} | |
main() { | |
var wf = new WannabeFunction(); | |
var out = wf("Hi","there,","gang"); | |
print('$out'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used in https://www.dartlang.org/guides/language/language-tour#callable-classes and the Java -> Dart codelab.