mapWhere<U> method

FutureOr<Iterable<U>> mapWhere<U>(
  1. Predicate<T> predicate,
  2. U f(
    1. T
    )
)

Implementation

FutureOr<Iterable<U>> mapWhere<U>(
    Predicate<T> predicate, U Function(T) f) async {
  return (await this).where(predicate).map(f);
}