isValidRect method

bool isValidRect()

Implementation

bool isValidRect() {
  return !left.isNaN && !top.isNaN && !right.isNaN && !bottom.isNaN;
}