toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (pipelineContext != null) 'pipelineContext': pipelineContext!,
if (pipelineRunContext != null)
'pipelineRunContext': pipelineRunContext!,
if (taskDetails != null) 'taskDetails': taskDetails!,
};