toWorkflowExecutionCancelRequestedCause method

WorkflowExecutionCancelRequestedCause toWorkflowExecutionCancelRequestedCause()

Implementation

WorkflowExecutionCancelRequestedCause
    toWorkflowExecutionCancelRequestedCause() {
  switch (this) {
    case 'CHILD_POLICY_APPLIED':
      return WorkflowExecutionCancelRequestedCause.childPolicyApplied;
  }
  throw Exception(
      '$this is not known in enum WorkflowExecutionCancelRequestedCause');
}