toFeedbackType method

FeedbackType toFeedbackType()

Implementation

FeedbackType toFeedbackType() {
  switch (this) {
    case 'Negative':
      return FeedbackType.negative;
    case 'Positive':
      return FeedbackType.positive;
  }
  throw Exception('$this is not known in enum FeedbackType');
}