isEmpty method
dynamic
isEmpty()
Returns true if the bounding box is empty, that is, no points have been added to the box yet.
Implementation
isEmpty() {
return this.x1 == null || this.y1 == null || this.x2 == null || this.y2 == null;
}