setRectForMultipleDevices method
Implementation
RectProperties setRectForMultipleDevices(Map<DeviceType, Rect> rectMap) {
RectProperties newRectProperties = getRectProperties;
rectMap.forEach((deviceType, rect) {
newRectProperties = newRectProperties.copyWith(
rect: newRectProperties.rect
.copyWithNewRectByDeviceType(deviceType, rect),
);
});
return newRectProperties;
}