Created
June 13, 2019 01:06
-
-
Save dariogabriel113/a6cd0ff2e530ec902099509178f237b5 to your computer and use it in GitHub Desktop.
Dart | Language samples - Arrows
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
var name = 'Voyager I'; | |
var year = 1977; | |
var antennaDiameter = 3.7; | |
var flybyObjects = ['Jupiter', 'Saturn', 'Uranus', 'Neptune']; | |
var image = { | |
'tags': ['saturn'], | |
'url': '//path/to/saturn.jpg' | |
}; | |
flybyObjects.where((name) => name.contains('turn')).forEach(print); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment