getDeviceStatusByRoleName method

DeviceDeploymentStatus getDeviceStatusByRoleName(
  1. String roleName
)

Get the status of a device with the given roleName in this study deployment.

Implementation

DeviceDeploymentStatus getDeviceStatusByRoleName(String roleName) =>
    deviceStatusList.firstWhere(
      (status) => status.device.roleName == roleName,
    );