toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AlgorithmicStemming.none:
      return 'none';
    case AlgorithmicStemming.minimal:
      return 'minimal';
    case AlgorithmicStemming.light:
      return 'light';
    case AlgorithmicStemming.full:
      return 'full';
  }
}