Skip to content

Instantly share code, notes, and snippets.

@lotarbo
Created January 22, 2020 13:46
Show Gist options
  • Select an option

  • Save lotarbo/9b88e0d9a474457c21e7f37742afe63a to your computer and use it in GitHub Desktop.

Select an option

Save lotarbo/9b88e0d9a474457c21e7f37742afe63a to your computer and use it in GitHub Desktop.
Dart Homework Section 4 Task 1
void main() {
var list = [60, 999, 14, "dart1", 45, 95, "dart", 1];
var values = ["dart", 15];
for (var value in values) {
print(list.contains(value));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment