-
-
Save kwalrath/786f67892848f93f71b1e7b9d3fc330c to your computer and use it in GitHub Desktop.
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
void main() { | |
Iterable iterable = ['Salad', 'Popcorn', 'Toast']; | |
print('The first element is ${iterable.first}'); | |
print('The last element is ${iterable.last}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment