masterDeviceStatus property

DeviceDeploymentStatus? masterDeviceStatus

The DeviceDeploymentStatus for the master device of this deployment, which is typically this phone.

Returns null if there is no master device in the list of devicesStatus.

Implementation

DeviceDeploymentStatus? get masterDeviceStatus {
  for (DeviceDeploymentStatus status in devicesStatus) {
    if (status.device.isMasterDevice!) return status;
  }
  return null;
}