toComputeType method

ComputeType toComputeType()

Implementation

ComputeType toComputeType() {
  switch (this) {
    case 'ACU_1':
      return ComputeType.acu_1;
    case 'ACU_2':
      return ComputeType.acu_2;
  }
  throw Exception('$this is not known in enum ComputeType');
}