DescribeImageBuildersResult.fromJson constructor

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

Implementation

factory DescribeImageBuildersResult.fromJson(Map<String, dynamic> json) {
  return DescribeImageBuildersResult(
    imageBuilders: (json['ImageBuilders'] as List?)
        ?.whereNotNull()
        .map((e) => ImageBuilder.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}