toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Feedback.useful:
      return 'USEFUL';
    case Feedback.notUseful:
      return 'NOT_USEFUL';
  }
}