WorkflowExecutionCancelRequestedEventAttributes.fromJson constructor
WorkflowExecutionCancelRequestedEventAttributes.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WorkflowExecutionCancelRequestedEventAttributes.fromJson(
Map<String, dynamic> json) {
return WorkflowExecutionCancelRequestedEventAttributes(
cause:
(json['cause'] as String?)?.toWorkflowExecutionCancelRequestedCause(),
externalInitiatedEventId: json['externalInitiatedEventId'] as int?,
externalWorkflowExecution: json['externalWorkflowExecution'] != null
? WorkflowExecution.fromJson(
json['externalWorkflowExecution'] as Map<String, dynamic>)
: null,
);
}