StartImageScanResponse.fromJson constructor
StartImageScanResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory StartImageScanResponse.fromJson(Map<String, dynamic> json) {
return StartImageScanResponse(
imageId: json['imageId'] != null
? ImageIdentifier.fromJson(json['imageId'] as Map<String, dynamic>)
: null,
imageScanStatus: json['imageScanStatus'] != null
? ImageScanStatus.fromJson(
json['imageScanStatus'] as Map<String, dynamic>)
: null,
registryId: json['registryId'] as String?,
repositoryName: json['repositoryName'] as String?,
);
}