NumericExtents constructor

const NumericExtents(
  1. num min,
  2. num max
)

Precondition: min <= max.

Implementation

// TODO: When initializer list asserts are supported everywhere,
// add the precondition as an initializer list assert. This is supported in
// Flutter only.
const NumericExtents(this.min, this.max);