ChildListRange constructor

ChildListRange(
  1. ChildNode start,
  2. ChildNode end
)

Implementation

ChildListRange(this.start, this.end) {
  if (start case final ChildNodeBoundary s) s.range = this;
  if (end case final ChildNodeBoundary e) e.range = this;
}