name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 4:
return 'BLOCKED';
case 7:
return 'CANCELED';
case 5:
return 'COMPLETED';
case 1:
return 'CREATED';
case 6:
return 'FAILED';
case 2:
return 'QUEUED';
case 3:
return 'STARTED';
}
return _value.toString();
}