mapWhereList<E> method

List<E> mapWhereList<E>(
  1. E f(
    1. T e
    ),
  2. bool test(
    1. E element
    )
)

Maps Iterable, then filters Iterable and then casts it to a List.

For more info about mapping refer to Iterable.map. For more info about filtering refer to Iterable.where.

Implementation

List<E> mapWhereList<E>(E f(T e), bool test(E element)) =>
    this.map(f).whereList(test);