toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (conditionalFailurePolicies != null)
'conditionalFailurePolicies': conditionalFailurePolicies!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (errorCatcherId != null) 'errorCatcherId': errorCatcherId!,
if (externalTaskType != null) 'externalTaskType': externalTaskType!,
if (failurePolicy != null) 'failurePolicy': failurePolicy!,
if (jsonValidationOption != null)
'jsonValidationOption': jsonValidationOption!,
if (nextTasks != null) 'nextTasks': nextTasks!,
if (nextTasksExecutionPolicy != null)
'nextTasksExecutionPolicy': nextTasksExecutionPolicy!,
if (parameters != null) 'parameters': parameters!,
if (position != null) 'position': position!,
if (successPolicy != null) 'successPolicy': successPolicy!,
if (synchronousCallFailurePolicy != null)
'synchronousCallFailurePolicy': synchronousCallFailurePolicy!,
if (task != null) 'task': task!,
if (taskExecutionStrategy != null)
'taskExecutionStrategy': taskExecutionStrategy!,
if (taskId != null) 'taskId': taskId!,
if (taskTemplate != null) 'taskTemplate': taskTemplate!,
};