toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alertConfigs != null) 'alertConfigs': alertConfigs!,
      if (conditionalFailurePolicies != null)
        'conditionalFailurePolicies': conditionalFailurePolicies!,
      if (createTime != null) 'createTime': createTime!,
      if (creatorEmail != null) 'creatorEmail': creatorEmail!,
      if (description != null) 'description': description!,
      if (disableStrictTypeValidation != null)
        'disableStrictTypeValidation': disableStrictTypeValidation!,
      if (errorCatcherId != null) 'errorCatcherId': errorCatcherId!,
      if (externalTaskType != null) 'externalTaskType': externalTaskType!,
      if (failurePolicy != null) 'failurePolicy': failurePolicy!,
      if (incomingEdgeCount != null) 'incomingEdgeCount': incomingEdgeCount!,
      if (jsonValidationOption != null)
        'jsonValidationOption': jsonValidationOption!,
      if (label != null) 'label': label!,
      if (lastModifiedTime != null) 'lastModifiedTime': lastModifiedTime!,
      if (nextTasks != null) 'nextTasks': nextTasks!,
      if (nextTasksExecutionPolicy != null)
        'nextTasksExecutionPolicy': nextTasksExecutionPolicy!,
      if (parameters != null) 'parameters': parameters!,
      if (position != null) 'position': position!,
      if (precondition != null) 'precondition': precondition!,
      if (preconditionLabel != null) 'preconditionLabel': preconditionLabel!,
      if (rollbackStrategy != null) 'rollbackStrategy': rollbackStrategy!,
      if (successPolicy != null) 'successPolicy': successPolicy!,
      if (synchronousCallFailurePolicy != null)
        'synchronousCallFailurePolicy': synchronousCallFailurePolicy!,
      if (taskEntity != null) 'taskEntity': taskEntity!,
      if (taskExecutionStrategy != null)
        'taskExecutionStrategy': taskExecutionStrategy!,
      if (taskName != null) 'taskName': taskName!,
      if (taskNumber != null) 'taskNumber': taskNumber!,
      if (taskSpec != null) 'taskSpec': taskSpec!,
      if (taskTemplateName != null) 'taskTemplateName': taskTemplateName!,
      if (taskType != null) 'taskType': taskType!,
    };