BaseIntervalSet constructor Null safety

BaseIntervalSet(
  1. List<Interval> items
)

Implementation

BaseIntervalSet(List<Interval> items) {
  for (var value in items) {
    this._add(value);
  }
  this._intervals.sort();
}