toValue method
Implementation
String toValue() {
switch (this) {
case EngineType.openSearch:
return 'OpenSearch';
case EngineType.elasticsearch:
return 'Elasticsearch';
}
}
String toValue() {
switch (this) {
case EngineType.openSearch:
return 'OpenSearch';
case EngineType.elasticsearch:
return 'Elasticsearch';
}
}