converts method

Future<Iterable<B>> converts(
  1. Iterable<A> root
)

Converts a list of items of type A to a list of items of type B.

Implementation

Future<Iterable<B>> converts(Iterable<A> root) {
  return Future.wait(root.map(convert));
}