toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DocumentReviewAction.sendForReview:
      return 'SendForReview';
    case DocumentReviewAction.updateReview:
      return 'UpdateReview';
    case DocumentReviewAction.approve:
      return 'Approve';
    case DocumentReviewAction.reject:
      return 'Reject';
  }
}