toValue method
Implementation
String toValue() {
switch (this) {
case OrderBy.timestampAscending:
return 'TimestampAscending';
case OrderBy.timestampDescending:
return 'TimestampDescending';
}
}
String toValue() {
switch (this) {
case OrderBy.timestampAscending:
return 'TimestampAscending';
case OrderBy.timestampDescending:
return 'TimestampDescending';
}
}