toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (labels != null) 'labels': labels!,
if (parallelism != null) 'parallelism': parallelism!,
if (taskCount != null) 'taskCount': taskCount!,
if (template != null) 'template': template!,
};