IntervalDouble constructor

IntervalDouble({
  1. required double min,
  2. required double max,
})

Implementation

IntervalDouble({required this.min, required this.max}) {
  if (min >= max) {
    throw ArgumentError("'min' must be less than 'max'");
  }
}