isRectangle property
Whether this is a rectangle
A parallelogram with all right angles (diagonals equal length).
Implementation
bool get isRectangle {
if (!isParallelogram) return false;
return (diagonalAC.length - diagonalBD.length).abs() < _epsilon;
}