toRectangleComponent method
Converts this Rect into a RectangleComponent.
Implementation
RectangleComponent toRectangleComponent() {
return RectangleComponent.fromRect(this);
}
Converts this Rect into a RectangleComponent.
RectangleComponent toRectangleComponent() {
return RectangleComponent.fromRect(this);
}