isEmpty property

bool isEmpty

Whether the rectangle is empty (has no area).

Implementation

bool get isEmpty => area == 0;