toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attestation != null) 'attestation': attestation!.toJson(),
if (build != null) 'build': build!.toJson(),
if (createTime != null) 'createTime': createTime!,
if (deployment != null) 'deployment': deployment!.toJson(),
if (derivedImage != null) 'derivedImage': derivedImage!.toJson(),
if (discovered != null) 'discovered': discovered!.toJson(),
if (installation != null) 'installation': installation!.toJson(),
if (intoto != null) 'intoto': intoto!.toJson(),
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (noteName != null) 'noteName': noteName!,
if (remediation != null) 'remediation': remediation!,
if (resource != null) 'resource': resource!.toJson(),
if (sbom != null) 'sbom': sbom!.toJson(),
if (spdxFile != null) 'spdxFile': spdxFile!.toJson(),
if (spdxPackage != null) 'spdxPackage': spdxPackage!.toJson(),
if (spdxRelationship != null)
'spdxRelationship': spdxRelationship!.toJson(),
if (updateTime != null) 'updateTime': updateTime!,
if (vulnerability != null) 'vulnerability': vulnerability!.toJson(),
};