Gets the area of a Rectangle.
@protected num areaForRectangle(Rectangle rect) => rect.height * rect.width;