toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RelevanceType.relevant:
      return 'RELEVANT';
    case RelevanceType.notRelevant:
      return 'NOT_RELEVANT';
  }
}