commodityModel method

CommodityModel commodityModel(
  1. List<CommodityModel> supportedCommodities
)

Implementation

CommodityModel commodityModel(List<CommodityModel> supportedCommodities) =>
    supportedCommodities.firstWhere((commModel) => commModel.id == value);