toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (ancestorIterationNumbers != null)
    'ancestorIterationNumbers': ancestorIterationNumbers!,
  if (ancestorTaskNumbers != null)
    'ancestorTaskNumbers': ancestorTaskNumbers!,
  if (executionAttempt != null) 'executionAttempt': executionAttempt!,
  if (integrationName != null) 'integrationName': integrationName!,
  if (task != null) 'task': task!,
  if (taskAttempt != null) 'taskAttempt': taskAttempt!,
  if (taskLabel != null) 'taskLabel': taskLabel!,
  if (taskNumber != null) 'taskNumber': taskNumber!,
};