ContainerRecipeSummary.fromJson constructor

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

Implementation

factory ContainerRecipeSummary.fromJson(Map<String, dynamic> json) {
  return ContainerRecipeSummary(
    arn: json['arn'] as String?,
    containerType: (json['containerType'] as String?)?.toContainerType(),
    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)),
  );
}