It is not really convenient to use Future.wait, cause it's leading to type erasing, so this lib created to help you save types while use Future.wait feature. This lib supports up to 24 arguments for saving. So if you wondering how to save type of arguments in Future.wait, this is for you!
To use this plugin, add type_saving_wait
as a dependency in your pubspec.yaml file.
Here are small example that show you how to use this library.
FutureSaving.wait2(
Future.value(3.14),
Future.value('Awesomness'),
).then((value) {
double a = value.a;
String b = value.b;
});