ModelPackageContainerDefinition.fromJson constructor

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

Implementation

factory ModelPackageContainerDefinition.fromJson(Map<String, dynamic> json) {
  return ModelPackageContainerDefinition(
    image: json['Image'] as String,
    containerHostname: json['ContainerHostname'] as String?,
    imageDigest: json['ImageDigest'] as String?,
    modelDataUrl: json['ModelDataUrl'] as String?,
    productId: json['ProductId'] as String?,
  );
}