Rect constructor
Implementation
Rect({
/// The x coordinate of the rectangle.
required int x,
/// The y coordinate of the rectangle.
required int y,
/// The width of the rectangle.
required int width,
/// The height of the rectangle.
required int height,
}) : _wrapped = $js.Rect(
x: x,
y: y,
width: width,
height: height,
);