toDeploymentRolloutState method

DeploymentRolloutState toDeploymentRolloutState()

Implementation

DeploymentRolloutState toDeploymentRolloutState() {
  switch (this) {
    case 'COMPLETED':
      return DeploymentRolloutState.completed;
    case 'FAILED':
      return DeploymentRolloutState.failed;
    case 'IN_PROGRESS':
      return DeploymentRolloutState.inProgress;
  }
  throw Exception('$this is not known in enum DeploymentRolloutState');
}