filterIndexedTo method
Appends all elements matching the given predicate
to the given
destination
.
Implementation
void filterIndexedTo(
List<E> destination, bool Function(E element, int index) predicate) =>
whereIndexedTo(destination, predicate);