Image.fromJson constructor

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

Implementation

factory Image.fromJson(Map<String, dynamic> json) {
  return Image(
    imageId: json['imageId'] != null
        ? ImageIdentifier.fromJson(json['imageId'] as Map<String, dynamic>)
        : null,
    imageManifest: json['imageManifest'] as String?,
    imageManifestMediaType: json['imageManifestMediaType'] as String?,
    registryId: json['registryId'] as String?,
    repositoryName: json['repositoryName'] as String?,
  );
}