name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 4:
return 'CANCELED';
case 2:
return 'COMPLETED';
case 3:
return 'FAILED';
case 0:
return 'QUEUED';
case 1:
return 'RUNNING';
}
return _value.toString();
}