awaitAll method

Future<List<T>> awaitAll({
  1. bool eagerError = true,
})

Implementation

Future<List<T>> awaitAll({bool eagerError = true}) {
  return Future.wait<T>([
    for (var t in this) Future<T>.value(t),
  ], eagerError: eagerError);
}