as<T> method

Future<List<T>> as<T>(
  1. T f(
    1. E e
    )
)

Returns a new lazy List of Type by applying the transformation function.

Short hand for Future<List<T>>.map<T>(f);

Implementation

Future<List<T>> as<T>(T f(E e)) async => (await this).as<T>(f);