biggestAcceptMajorityHear method

List<ProductDetails> biggestAcceptMajorityHear(
  1. ProductDetailsResponse lobbyResidentShine
)

Implementation

List<ProductDetails> biggestAcceptMajorityHear(
    ProductDetailsResponse lobbyResidentShine) {
  return lobbyResidentShine.productDetails
    ..sort((roughDesertChicken, oxygenSaltShirt) =>
        roughDesertChicken.rawPrice.compareTo(oxygenSaltShirt.rawPrice));
}