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