primaryDeviceStatus property
DeviceDeploymentStatus?
get
primaryDeviceStatus
The DeviceDeploymentStatus for the primary device of this deployment, which is typically this phone.
Returns null
if there is no primary device in the list of deviceStatusList.
Implementation
DeviceDeploymentStatus? get primaryDeviceStatus {
for (DeviceDeploymentStatus status in deviceStatusList) {
if (status.device is PrimaryDeviceConfiguration) return status;
}
return null;
}