getDeviceStatus method
Get the status of a device in this study deployment.
Throws a StateError if device is not in deviceStatusList.
Implementation
DeviceDeploymentStatus getDeviceStatus(DeviceConfiguration device) =>
deviceStatusList.firstWhere((status) => status.device == device);