WorkflowExecutionTerminatedEventAttributes.fromJson constructor
WorkflowExecutionTerminatedEventAttributes.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WorkflowExecutionTerminatedEventAttributes.fromJson(
Map<String, dynamic> json) {
return WorkflowExecutionTerminatedEventAttributes(
childPolicy: (json['childPolicy'] as String).toChildPolicy(),
cause: (json['cause'] as String?)?.toWorkflowExecutionTerminatedCause(),
details: json['details'] as String?,
reason: json['reason'] as String?,
);
}