clone method

BoundingBox clone()

Returns a new BoundingBox with the same min and max as this one.

Implementation

BoundingBox clone() {
  return BoundingBox()..setFrom(this);
}