DescribeImagesResponse.fromJson constructor

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

Implementation

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