toValue method
Implementation
String toValue() {
switch (this) {
case CandidateSortBy.creationTime:
return 'CreationTime';
case CandidateSortBy.status:
return 'Status';
case CandidateSortBy.finalObjectiveMetricValue:
return 'FinalObjectiveMetricValue';
}
}