toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cpeUri != null) 'cpeUri': cpeUri!,
if (description != null) 'description': description!,
if (fixedLocation != null) 'fixedLocation': fixedLocation!.toJson(),
if (isObsolete != null) 'isObsolete': isObsolete!,
if (maxAffectedVersion != null)
'maxAffectedVersion': maxAffectedVersion!.toJson(),
if (minAffectedVersion != null)
'minAffectedVersion': minAffectedVersion!.toJson(),
if (package != null) 'package': package!,
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!,
};