getItemsByStyle static method
按风格获取衣物
Implementation
static Future<List<ClothingItem>> getItemsByStyle(String style) async {
final items = await getAllClothingItems();
return items.where((item) => item.style == style).toList();
}
按风格获取衣物
static Future<List<ClothingItem>> getItemsByStyle(String style) async {
final items = await getAllClothingItems();
return items.where((item) => item.style == style).toList();
}