ListImagesResponse.fromJson constructor

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

Implementation

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