everyIndexed method
Returns true if every element in the list satisfies the test
function.
Implementation
bool everyIndexed(bool Function(int index, E value) test) {
for (int i = 0; i < length; i++) {
if (!test(i, this[i])) return false;
}
return true;
}