Interval.between constructor Null safety

Interval.between(
  1. int a,
  2. int b,
  3. {bool lowerClosed = false,
  4. bool upperClosed = false}
)

Implementation

factory Interval.between(int a, int b,
    {bool lowerClosed = false, bool upperClosed = false}) {
  return Interval._(a, b, lowerClosed: lowerClosed, upperClosed: upperClosed);
}