Dart Loop através da matriz
for (var i = 0; i < list.length; i++) {
print(list[i]);
}
Obedient Okapi
for (var i = 0; i < list.length; i++) {
print(list[i]);
}
for (int i = 0; i < list.length; i++) {
print(list[i]);
}
main() {
List<String> list = new List<String>();
list.add('one');
list.add('two');
list.add('twelve');
list.forEach((element) => print(element));
Set<String> set = Set.from(list);
set.forEach((element) => print(element));
}