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