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