getItemsBySource static method
按来源获取衣物
Implementation
static Future<List<ClothingItem>> getItemsBySource(String source) async {
final items = await getAllClothingItems();
return items.where((item) => item.source == source).toList();
}
按来源获取衣物
static Future<List<ClothingItem>> getItemsBySource(String source) async {
final items = await getAllClothingItems();
return items.where((item) => item.source == source).toList();
}