PipelineDescription.fromJson constructor

PipelineDescription.fromJson(
  1. Map json_
)

Implementation

PipelineDescription.fromJson(core.Map json_)
    : this(
        displayData: json_.containsKey('displayData')
            ? (json_['displayData'] as core.List)
                .map((value) => DisplayData.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        executionPipelineStage: json_.containsKey('executionPipelineStage')
            ? (json_['executionPipelineStage'] as core.List)
                .map((value) => ExecutionStageSummary.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        originalPipelineTransform:
            json_.containsKey('originalPipelineTransform')
                ? (json_['originalPipelineTransform'] as core.List)
                    .map((value) => TransformSummary.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        stepNamesHash: json_.containsKey('stepNamesHash')
            ? json_['stepNamesHash'] as core.String
            : null,
      );