toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case QueueListBy.name:
      return 'NAME';
    case QueueListBy.creationDate:
      return 'CREATION_DATE';
  }
}