PriceRange constructor

const PriceRange(
  1. double min,
  2. double max
)

Implementation

const PriceRange(this.min, this.max)
    : assert(max >= min, 'Max price ($max) must be >= Min price ($min)');