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