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