ChildWorkflowExecutionCompletedEventAttributes.fromJson constructor

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

Implementation

factory ChildWorkflowExecutionCompletedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return ChildWorkflowExecutionCompletedEventAttributes(
    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>),
    result: json['result'] as String?,
  );
}