filter method

Iterable<T> filter(
  1. bool test(
    1. T t
    )
)

Returns the list of those elements that satisfy test.

Equivalent to Iterable.where.

Implementation

Iterable<T> filter(bool Function(T t) test) => where(test);