conditionalMapIndexed<E> method
Implementation
List<E> conditionalMapIndexed<E>(E? Function(int index, T e) f) {
final List<E> items = [];
for (int i = 0; i < length; i++) {
final value = f(i, this[i]);
if (value != null) items.add(value);
}
return items;
}