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