Future<List<PrizeData>> getPrizes(List<String> ids) async { List<PrizeData> prizes = []; for (int i = 0; i < ids.length; i++) { prizes.add(await getPrizeData(ids[i])); } return prizes; }