futureAll static method

Future<List> futureAll(
  1. Iterable<Future> futures, {
  2. void onProgress(
    1. int,
    2. int,
    3. Map<int, dynamic>
    )?,
  3. void onAnySuccess(
    1. dynamic,
    2. int
    )?,
  4. void onAnyError(
    1. Object,
    2. StackTrace,
    3. int
    )?,
  5. int delayMillis = 0,
})

Implementation

static Future<List<dynamic>> futureAll(
  Iterable<Future> futures, {
  void Function(int, int, Map<int, dynamic>)? onProgress,
  void Function(dynamic, int)? onAnySuccess,
  void Function(Object, StackTrace, int)? onAnyError,
  int delayMillis = 0,
}) {
  return futures.all(
      onProgress: onProgress,
      onAnySuccess: onAnySuccess,
      onAnyError: onAnyError,
      delayMillis: delayMillis);
}