toValue method
Implementation
String toValue() {
switch (this) {
case TaskType.evaluation:
return 'EVALUATION';
case TaskType.labelingSetGeneration:
return 'LABELING_SET_GENERATION';
case TaskType.importLabels:
return 'IMPORT_LABELS';
case TaskType.exportLabels:
return 'EXPORT_LABELS';
case TaskType.findMatches:
return 'FIND_MATCHES';
}
}