toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (affectedCpeUri != null) 'affectedCpeUri': affectedCpeUri!,
if (affectedPackage != null) 'affectedPackage': affectedPackage!,
if (affectedVersionEnd != null)
'affectedVersionEnd': affectedVersionEnd!,
if (affectedVersionStart != null)
'affectedVersionStart': affectedVersionStart!,
if (description != null) 'description': description!,
if (fixedCpeUri != null) 'fixedCpeUri': fixedCpeUri!,
if (fixedPackage != null) 'fixedPackage': fixedPackage!,
if (fixedVersion != null) 'fixedVersion': fixedVersion!,
if (isObsolete != null) 'isObsolete': isObsolete!,
if (packageType != null) 'packageType': packageType!,
if (severityName != null) 'severityName': severityName!,
if (source != null) 'source': source!,
if (sourceUpdateTime != null) 'sourceUpdateTime': sourceUpdateTime!,
if (vendor != null) 'vendor': vendor!,
};