PipelineSummary.fromJson constructor

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

Implementation

factory PipelineSummary.fromJson(Map<String, dynamic> json) {
  return PipelineSummary(
    creationTime: timeStampFromJson(json['creationTime']),
    lastUpdateTime: timeStampFromJson(json['lastUpdateTime']),
    pipelineName: json['pipelineName'] as String?,
    reprocessingSummaries: (json['reprocessingSummaries'] as List?)
        ?.whereNotNull()
        .map((e) => ReprocessingSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}