toEngineType method
Implementation
EngineType toEngineType() {
switch (this) {
case 'OpenSearch':
return EngineType.openSearch;
case 'Elasticsearch':
return EngineType.elasticsearch;
}
throw Exception('$this is not known in enum EngineType');
}