Last active
September 23, 2018 15:50
-
-
Save jebright/8b5cfbc69a4badcba949ce22be08a219 to your computer and use it in GitHub Desktop.
Dart Fundamentals - Lists - foreach
This file contains hidden or 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
void main() { | |
List<String> names = ["Joe", "Frankie", "Tom"]; | |
names.forEach((n) => | |
print('Hello Mr. ${n}')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment