toValue method
Implementation
String toValue() {
switch (this) {
case RecipeOutputFormat.json:
return 'JSON';
case RecipeOutputFormat.yaml:
return 'YAML';
}
}
String toValue() {
switch (this) {
case RecipeOutputFormat.json:
return 'JSON';
case RecipeOutputFormat.yaml:
return 'YAML';
}
}