toFeedbackValue method

FeedbackValue toFeedbackValue()

Implementation

FeedbackValue toFeedbackValue() {
  switch (this) {
    case 'NOT_SPECIFIED':
      return FeedbackValue.notSpecified;
    case 'USEFUL':
      return FeedbackValue.useful;
    case 'NOT_USEFUL':
      return FeedbackValue.notUseful;
  }
  throw Exception('$this is not known in enum FeedbackValue');
}