ImageRecipeSummary.fromJson constructor

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

Implementation

factory ImageRecipeSummary.fromJson(Map<String, dynamic> json) {
  return ImageRecipeSummary(
    arn: json['arn'] as String?,
    dateCreated: json['dateCreated'] as String?,
    name: json['name'] as String?,
    owner: json['owner'] as String?,
    parentImage: json['parentImage'] as String?,
    platform: (json['platform'] as String?)?.toPlatform(),
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}