toValue method
Implementation
String toValue() {
switch (this) {
case TaskStatus.finished:
return 'FINISHED';
case TaskStatus.failed:
return 'FAILED';
case TaskStatus.$false:
return 'FALSE';
}
}
String toValue() {
switch (this) {
case TaskStatus.finished:
return 'FINISHED';
case TaskStatus.failed:
return 'FAILED';
case TaskStatus.$false:
return 'FALSE';
}
}