name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 1:
return 'ASCENDING';
case -1:
return 'DESCENDING';
case 0:
return 'SPECIAL';
case 2:
return 'UNKNOWN';
}
return _value.toString();
}