DescribeImagesResult.fromJson constructor

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

Implementation

factory DescribeImagesResult.fromJson(Map<String, dynamic> json) {
  return DescribeImagesResult(
    images: (json['Images'] as List?)
        ?.whereNotNull()
        .map((e) => Image.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}