asyncFlatMap<X> method

Future<Iterable<X>> asyncFlatMap<X>(
  1. Future<X> f(
    1. T
    )
)

Returns a new list after flattening the original Iterable of Iterables and then mapping each element asynchronously.

Implementation

Future<Iterable<X>> asyncFlatMap<X>(Future<X> Function(T) f) async =>
    flatten().asyncMap(f);