union method

IntervalTree union(
  1. IntervalTree other
)

Implementation

IntervalTree union(IntervalTree other) =>
    IntervalTree.of(this)..addAll(other);