toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attestation != null) 'attestation': attestation!,
if (build != null) 'build': build!,
if (createTime != null) 'createTime': createTime!,
if (deployment != null) 'deployment': deployment!,
if (derivedImage != null) 'derivedImage': derivedImage!,
if (discovered != null) 'discovered': discovered!,
if (installation != null) 'installation': installation!,
if (intoto != null) 'intoto': intoto!,
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!,
if (sbom != null) 'sbom': sbom!,
if (spdxFile != null) 'spdxFile': spdxFile!,
if (spdxPackage != null) 'spdxPackage': spdxPackage!,
if (spdxRelationship != null) 'spdxRelationship': spdxRelationship!,
if (updateTime != null) 'updateTime': updateTime!,
if (vulnerability != null) 'vulnerability': vulnerability!,
};