GetPipelineOutput.fromJson constructor

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

Implementation

factory GetPipelineOutput.fromJson(Map<String, dynamic> json) {
  return GetPipelineOutput(
    metadata: json['metadata'] != null
        ? PipelineMetadata.fromJson(json['metadata'] as Map<String, dynamic>)
        : null,
    pipeline: json['pipeline'] != null
        ? PipelineDeclaration.fromJson(
            json['pipeline'] as Map<String, dynamic>)
        : null,
  );
}