toJson method

Map<String, dynamic> toJson()

Implementation

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