toEngineType method

EngineType toEngineType()

Implementation

EngineType toEngineType() {
  switch (this) {
    case 'ACTIVEMQ':
      return EngineType.activemq;
    case 'RABBITMQ':
      return EngineType.rabbitmq;
  }
  throw Exception('$this is not known in enum EngineType');
}