toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Reaction.thumbsUp:
      return 'ThumbsUp';
    case Reaction.thumbsDown:
      return 'ThumbsDown';
  }
}