StartChildWorkflowExecutionInitiatedEventAttributes.fromJson constructor
StartChildWorkflowExecutionInitiatedEventAttributes.fromJson(
- Map<String, dynamic> json
)
Implementation
factory StartChildWorkflowExecutionInitiatedEventAttributes.fromJson(
Map<String, dynamic> json) {
return StartChildWorkflowExecutionInitiatedEventAttributes(
childPolicy: (json['childPolicy'] as String).toChildPolicy(),
decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
taskList: TaskList.fromJson(json['taskList'] as Map<String, dynamic>),
workflowId: json['workflowId'] as String,
workflowType:
WorkflowType.fromJson(json['workflowType'] as Map<String, dynamic>),
control: json['control'] as String?,
executionStartToCloseTimeout:
json['executionStartToCloseTimeout'] as String?,
input: json['input'] as String?,
lambdaRole: json['lambdaRole'] as String?,
tagList: (json['tagList'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
taskPriority: json['taskPriority'] as String?,
taskStartToCloseTimeout: json['taskStartToCloseTimeout'] as String?,
);
}