ListPipelineExecutionsOutput.fromJson constructor

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

Implementation

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