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