toComputePlatform method

ComputePlatform toComputePlatform()

Implementation

ComputePlatform toComputePlatform() {
  switch (this) {
    case 'AWSLambda':
      return ComputePlatform.awsLambda;
    case 'Default':
      return ComputePlatform.$default;
  }
  throw Exception('$this is not known in enum ComputePlatform');
}