canObtainDeviceDeployment property

bool get canObtainDeviceDeployment

Determines whether the device requires a device deployment, and if so, whether the deployment configuration (to initialize the device environment) can be obtained. This requires the specified device and all other primary devices it depends on to be registered.

Implementation

bool get canObtainDeviceDeployment =>
    (_status == DeviceDeploymentStatusTypes.Deployed ||
        (_status == DeviceDeploymentStatusTypes.NotDeployed &&
            remainingDevicesToRegisterToObtainDeployment!.isEmpty));