toValue method

String toValue()

Implementation

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