toShortString method
Converts enum to the string equal to enum's name
Implementation
String toShortString() {
return toString().split('.').last;
}
Converts enum to the string equal to enum's name
String toShortString() {
return toString().split('.').last;
}