Flutter Error: The argument type 'List<dynamic>' can't be assigned to the parameter type 'Iterable<Future<dynamic>>'
I'm trying multiple request in a controller. var requests = []; for(var url in urls){ requests.add(http.get(Uri.parse(url.split(',')[0]))); } var results = await Future.wait(requests as Iterable<Future>); for(int i = 0; i < results.length; i++){ saveData(urls[i].split(',')[1], results[i]); } So it give an error.…