name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'DOWN':
return 'DOWN';
case 'LEFT':
return 'LEFT';
case 'RIGHT':
return 'RIGHT';
case 'UP':
return 'UP';
}
return _value.toString();
}