toValue method
Implementation
String toValue() {
switch (this) {
case CelebrityRecognitionSortBy.id:
return 'ID';
case CelebrityRecognitionSortBy.timestamp:
return 'TIMESTAMP';
}
}
String toValue() {
switch (this) {
case CelebrityRecognitionSortBy.id:
return 'ID';
case CelebrityRecognitionSortBy.timestamp:
return 'TIMESTAMP';
}
}