ListImagePipelineImagesResponse.fromJson constructor

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

Implementation

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