toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HITReviewStatus.notReviewed:
      return 'NotReviewed';
    case HITReviewStatus.markedForReview:
      return 'MarkedForReview';
    case HITReviewStatus.reviewedAppropriate:
      return 'ReviewedAppropriate';
    case HITReviewStatus.reviewedInappropriate:
      return 'ReviewedInappropriate';
  }
}