ChildWorkflowExecutionTerminatedEventAttributes.fromJson constructor

ChildWorkflowExecutionTerminatedEventAttributes.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChildWorkflowExecutionTerminatedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return ChildWorkflowExecutionTerminatedEventAttributes(
    initiatedEventId: json['initiatedEventId'] as int,
    startedEventId: json['startedEventId'] as int,
    workflowExecution: WorkflowExecution.fromJson(
        json['workflowExecution'] as Map<String, dynamic>),
    workflowType:
        WorkflowType.fromJson(json['workflowType'] as Map<String, dynamic>),
  );
}