Skip to content

Instantly share code, notes, and snippets.

@dariogabriel113
Created June 13, 2019 01:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariogabriel113/a6cd0ff2e530ec902099509178f237b5 to your computer and use it in GitHub Desktop.
Save dariogabriel113/a6cd0ff2e530ec902099509178f237b5 to your computer and use it in GitHub Desktop.
Dart | Language samples - Arrows
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