toComputeType method

ComputeType toComputeType()

Implementation

ComputeType toComputeType() {
  switch (this) {
    case 'BUILD_GENERAL1_SMALL':
      return ComputeType.buildGeneral1Small;
    case 'BUILD_GENERAL1_MEDIUM':
      return ComputeType.buildGeneral1Medium;
    case 'BUILD_GENERAL1_LARGE':
      return ComputeType.buildGeneral1Large;
  }
  throw Exception('$this is not known in enum ComputeType');
}