toJson method
Implementation
Map<String, dynamic> toJson() {
final workflowId = this.workflowId;
final workflowType = this.workflowType;
final childPolicy = this.childPolicy;
final control = this.control;
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;
return {
'workflowId': workflowId,
'workflowType': workflowType,
if (childPolicy != null) 'childPolicy': childPolicy.toValue(),
if (control != null) 'control': control,
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,
};
}