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