status property
StudyStatus
get
status
The status of this study based on deploymentStatus.
Implementation
StudyStatus get status => switch (deploymentStatus?.status) {
null => StudyStatus.DeploymentNotAvailable,
StudyDeploymentStatusTypes.Invited => StudyStatus.DeploymentNotStarted,
StudyDeploymentStatusTypes.DeployingDevices => StudyStatus.Deploying,
StudyDeploymentStatusTypes.Running => StudyStatus.Running,
StudyDeploymentStatusTypes.Stopped => StudyStatus.Stopped,
};