whereMapList<E> method

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

Filters Iterable, then mapps Iterable and then casts it to a List.

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

Implementation

List<E> whereMapList<E>(bool test(T element), E f(T e)) =>
    this.where(test).mapList(f);