indexedForEach method
loop items with index and element arguments
Implementation
void indexedForEach(void Function(int index, T element) f) {
var index = 0;
for (var element in this) {
f(index, element);
index++;
}
}
loop items with index and element arguments
void indexedForEach(void Function(int index, T element) f) {
var index = 0;
for (var element in this) {
f(index, element);
index++;
}
}