groupWait2<T1, T2> function

Future<GroupWait2<T1, T2>> groupWait2<T1, T2>(
  1. Future<T1> f1,
  2. Future<T2> f2
)

Implementation

Future<GroupWait2<T1, T2>> groupWait2<T1, T2>(Future<T1> f1, Future<T2> f2) async {
  final res = await Future.wait([f1, f2]);
  return GroupWait2._(res[0] as T1, res[1] as T2);
}