Skip to content

Instantly share code, notes, and snippets.

@zoechi
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoechi/3d6cb61b9383e006f73f to your computer and use it in GitHub Desktop.
Save zoechi/3d6cb61b9383e006f73f to your computer and use it in GitHub Desktop.
// SO 29538557
void main() {
List persons = [];
persons.add({'name': 'jhon', 'lastName': 'Doe'});
print('before: $persons');
persons.removeWhere((p) => p['name'] == 'jhon' && p['lastName'] == 'Doe');
print('after: $persons');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment