BatchDeletePipelineJobsResponse.fromJson constructor
BatchDeletePipelineJobsResponse.fromJson(
- Object? j
Implementation
factory BatchDeletePipelineJobsResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return BatchDeletePipelineJobsResponse(
pipelineJobs: switch (json['pipelineJobs']) {
null => [],
List<Object?> $1 => [for (final i in $1) PipelineJob.fromJson(i)],
_ => throw const FormatException('"pipelineJobs" is not a list'),
},
);
}