toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attestation != null) 'attestation': attestation!,
if (build != null) 'build': build!,
if (compliance != null) 'compliance': compliance!,
if (createTime != null) 'createTime': createTime!,
if (deployment != null) 'deployment': deployment!,
if (discovery != null) 'discovery': discovery!,
if (dsseAttestation != null) 'dsseAttestation': dsseAttestation!,
if (envelope != null) 'envelope': envelope!,
if (image != null) 'image': image!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (noteName != null) 'noteName': noteName!,
if (package != null) 'package': package!,
if (remediation != null) 'remediation': remediation!,
if (resourceUri != null) 'resourceUri': resourceUri!,
if (sbomReference != null) 'sbomReference': sbomReference!,
if (updateTime != null) 'updateTime': updateTime!,
if (upgrade != null) 'upgrade': upgrade!,
if (vulnerability != null) 'vulnerability': vulnerability!,
};