filterNotToIndexed method

void filterNotToIndexed(
  1. List<T> destination,
  2. bool predicate(
    1. T element,
    2. int index
    )
)

Appends all elements not matching the given predicate to the given destination.

Implementation

void filterNotToIndexed(List<T> destination, bool predicate(T element, int index)) =>
    whereNotToIndexed(destination, predicate);