doesRectExist method

bool doesRectExist(
  1. DeviceType deviceType
)

Implementation

bool doesRectExist(DeviceType deviceType) => deviceType == DeviceType.tablet
    ? getRectProperties.rect.rectTablet != null
    : deviceType == DeviceType.laptop
        ? getRectProperties.rect.rectLaptop != null
        : deviceType == DeviceType.desktop
            ? getRectProperties.rect.rectDesktop != null
            : true;