ChildWorkflowExecutionStartedEventAttributes.fromJson constructor

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

Implementation

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