getDeviceStatusByRoleName method
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,
);