setRect method

RectProperties setRect(
  1. Rect rect,
  2. DeviceType deviceType
)

Implementation

RectProperties setRect(Rect rect, DeviceType deviceType) =>
    getRectProperties.copyWith(
        rect: getRectProperties.rect
            .copyWithNewRectByDeviceType(deviceType, rect));