PriceRange constructor Null safety

PriceRange(
  1. {double? minPrice,
  2. double? maxPrice}
)

Implementation

PriceRange({
  this.minPrice,
  this.maxPrice,
});