toJson method
Implementation
Map<String, dynamic> toJson() {
final childPolicy = this.childPolicy;
final executionStartToCloseTimeout = this.executionStartToCloseTimeout;
final input = this.input;
final lambdaRole = this.lambdaRole;
final tagList = this.tagList;
final taskList = this.taskList;
final taskPriority = this.taskPriority;
final taskStartToCloseTimeout = this.taskStartToCloseTimeout;
final workflowTypeVersion = this.workflowTypeVersion;
return {
if (childPolicy != null) 'childPolicy': childPolicy.toValue(),
if (executionStartToCloseTimeout != null)
'executionStartToCloseTimeout': executionStartToCloseTimeout,
if (input != null) 'input': input,
if (lambdaRole != null) 'lambdaRole': lambdaRole,
if (tagList != null) 'tagList': tagList,
if (taskList != null) 'taskList': taskList,
if (taskPriority != null) 'taskPriority': taskPriority,
if (taskStartToCloseTimeout != null)
'taskStartToCloseTimeout': taskStartToCloseTimeout,
if (workflowTypeVersion != null)
'workflowTypeVersion': workflowTypeVersion,
};
}