toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AnomalyFeedbackType.yes:
      return 'YES';
    case AnomalyFeedbackType.no:
      return 'NO';
    case AnomalyFeedbackType.plannedActivity:
      return 'PLANNED_ACTIVITY';
  }
}