GetPipelineDefinitionOutput.fromJson constructor

GetPipelineDefinitionOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetPipelineDefinitionOutput.fromJson(Map<String, dynamic> json) {
  return GetPipelineDefinitionOutput(
    parameterObjects: (json['parameterObjects'] as List?)
        ?.whereNotNull()
        .map((e) => ParameterObject.fromJson(e as Map<String, dynamic>))
        .toList(),
    parameterValues: (json['parameterValues'] as List?)
        ?.whereNotNull()
        .map((e) => ParameterValue.fromJson(e as Map<String, dynamic>))
        .toList(),
    pipelineObjects: (json['pipelineObjects'] as List?)
        ?.whereNotNull()
        .map((e) => PipelineObject.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}