ListPipelineExecutionsResponse.fromJson constructor

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

Implementation

factory ListPipelineExecutionsResponse.fromJson(Map<String, dynamic> json) {
  return ListPipelineExecutionsResponse(
    nextToken: json['NextToken'] as String?,
    pipelineExecutionSummaries: (json['PipelineExecutionSummaries'] as List?)
        ?.whereNotNull()
        .map((e) =>
            PipelineExecutionSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}