copyWithResettingRect method
Implementation
ResponsiveRect copyWithResettingRect(DeviceType deviceType) {
if (deviceType == DeviceType.desktop) {
return setDesktopNull();
}
if (deviceType == DeviceType.tablet) {
return setTabletNull();
}
if (deviceType == DeviceType.laptop) {
return setLaptopNull();
}
return this;
}