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,
      );