toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CompleteWorkflowExecutionFailedCause.unhandledDecision:
      return 'UNHANDLED_DECISION';
    case CompleteWorkflowExecutionFailedCause.operationNotPermitted:
      return 'OPERATION_NOT_PERMITTED';
  }
}