filterGetMaxPrice function

double filterGetMaxPrice(
  1. List<ProductData> services
)

Implementation

double filterGetMaxPrice(List<ProductData> services){
  double _max = 0;
  for (var item in services) {
    var _price = getMinAmountInProduct(item.price);
    if (_price > _max)
      _max = _price;
  }
  return _max;
}