bestDeal(List<Item> cart) { Item? bestItem; for (final item in cart) { if (bestItem == null || item.price < bestItem.price) { bestItem = item; } } return ...
確定! 回上一頁