toValue method

String toValue()

Implementation

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