asyncForEach method
Asynchronous forEach function on which you can use the await keyword on
Implementation
Future<void> asyncForEach(Future<void> callback(element))async{
//Loop through list
for(var item in this){
await callback(item);
}
}