toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProjectSortByType.name:
      return 'NAME';
    case ProjectSortByType.createdTime:
      return 'CREATED_TIME';
    case ProjectSortByType.lastModifiedTime:
      return 'LAST_MODIFIED_TIME';
  }
}