ValueThreshold constructor

const ValueThreshold(
  1. num? min,
  2. num? max
)

Implementation

const ValueThreshold(
  num? min,
  num? max,
)   : assert(min != null || max != null),
      _min = min ?? 0,
      _max = max ?? double.infinity;