toValue method
Implementation
String toValue() {
switch (this) {
case DocumentClassifierMode.multiClass:
return 'MULTI_CLASS';
case DocumentClassifierMode.multiLabel:
return 'MULTI_LABEL';
}
}
String toValue() {
switch (this) {
case DocumentClassifierMode.multiClass:
return 'MULTI_CLASS';
case DocumentClassifierMode.multiLabel:
return 'MULTI_LABEL';
}
}