operator & method

Range2D operator &(
  1. Range2D other
)
inherited

Implementation

Range2D operator &(Range2D other) {
  final xRange = this.xRange & other.xRange;
  final yRange = this.yRange & other.yRange;
  return Range2D.fromSides(xRange, yRange);
}