toValue method
Implementation
String toValue() {
switch (this) {
case LabelDetectionSortBy.name:
return 'NAME';
case LabelDetectionSortBy.timestamp:
return 'TIMESTAMP';
}
}
String toValue() {
switch (this) {
case LabelDetectionSortBy.name:
return 'NAME';
case LabelDetectionSortBy.timestamp:
return 'TIMESTAMP';
}
}