toValue method

String toValue()

Implementation

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