toProcessorType method

ProcessorType toProcessorType()

Implementation

ProcessorType toProcessorType() {
  switch (this) {
    case 'Lambda':
      return ProcessorType.lambda;
  }
  throw Exception('$this is not known in enum ProcessorType');
}