toDeploymentType method

DeploymentType toDeploymentType()

Implementation

DeploymentType toDeploymentType() {
  switch (this) {
    case 'IN_PLACE':
      return DeploymentType.inPlace;
    case 'BLUE_GREEN':
      return DeploymentType.blueGreen;
  }
  throw Exception('$this is not known in enum DeploymentType');
}