toReviewActionStatus method

ReviewActionStatus toReviewActionStatus()

Implementation

ReviewActionStatus toReviewActionStatus() {
  switch (this) {
    case 'Intended':
      return ReviewActionStatus.intended;
    case 'Succeeded':
      return ReviewActionStatus.succeeded;
    case 'Failed':
      return ReviewActionStatus.failed;
    case 'Cancelled':
      return ReviewActionStatus.cancelled;
  }
  throw Exception('$this is not known in enum ReviewActionStatus');
}