toRobotDeploymentStep method

RobotDeploymentStep toRobotDeploymentStep()

Implementation

RobotDeploymentStep toRobotDeploymentStep() {
  switch (this) {
    case 'Validating':
      return RobotDeploymentStep.validating;
    case 'DownloadingExtracting':
      return RobotDeploymentStep.downloadingExtracting;
    case 'ExecutingDownloadCondition':
      return RobotDeploymentStep.executingDownloadCondition;
    case 'ExecutingPreLaunch':
      return RobotDeploymentStep.executingPreLaunch;
    case 'Launching':
      return RobotDeploymentStep.launching;
    case 'ExecutingPostLaunch':
      return RobotDeploymentStep.executingPostLaunch;
    case 'Finished':
      return RobotDeploymentStep.finished;
  }
  throw Exception('$this is not known in enum RobotDeploymentStep');
}