Range constructor

const Range({
  1. num? min,
  2. num? max,
  3. bool minExclusive = false,
  4. bool maxExclusive = false,
})

Restricts the maximum size for a numeric type to min and/or max.

Implementation

const Range({
  this.min,
  this.max,
  this.minExclusive = false,
  this.maxExclusive = false,
});