UpdatePipelineResponse.fromJson constructor

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

Implementation

factory UpdatePipelineResponse.fromJson(Map<String, dynamic> json) {
  return UpdatePipelineResponse(
    pipeline: json['Pipeline'] != null
        ? Pipeline.fromJson(json['Pipeline'] as Map<String, dynamic>)
        : null,
    warnings: (json['Warnings'] as List?)
        ?.whereNotNull()
        .map((e) => Warning.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}