futureAll static method
Future<List>
futureAll(
- Iterable<Future> futures, {
- void onProgress(
- int,
- int,
- Map<int, dynamic>
)?,
- void onAnySuccess(
- dynamic,
- int
)?,
- void onAnyError(
- Object,
- StackTrace,
- int
)?,
- 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);
}