toValue method
Implementation
String toValue() {
switch (this) {
case ObjectiveStatus.succeeded:
return 'Succeeded';
case ObjectiveStatus.pending:
return 'Pending';
case ObjectiveStatus.failed:
return 'Failed';
}
}
String toValue() {
switch (this) {
case ObjectiveStatus.succeeded:
return 'Succeeded';
case ObjectiveStatus.pending:
return 'Pending';
case ObjectiveStatus.failed:
return 'Failed';
}
}