toValue method
Implementation
String toValue() {
switch (this) {
case ListWorkforcesSortByOptions.name:
return 'Name';
case ListWorkforcesSortByOptions.createDate:
return 'CreateDate';
}
}
String toValue() {
switch (this) {
case ListWorkforcesSortByOptions.name:
return 'Name';
case ListWorkforcesSortByOptions.createDate:
return 'CreateDate';
}
}