toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceSortType.date:
      return 'DATE';
    case ResourceSortType.name:
      return 'NAME';
  }
}