toDocumentReviewAction method

DocumentReviewAction toDocumentReviewAction()

Implementation

DocumentReviewAction toDocumentReviewAction() {
  switch (this) {
    case 'SendForReview':
      return DocumentReviewAction.sendForReview;
    case 'UpdateReview':
      return DocumentReviewAction.updateReview;
    case 'Approve':
      return DocumentReviewAction.approve;
    case 'Reject':
      return DocumentReviewAction.reject;
  }
  throw Exception('$this is not known in enum DocumentReviewAction');
}