toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cpeUri != null) 'cpeUri': cpeUri!,
if (os != null) 'os': os!,
if (osVersion != null) 'osVersion': osVersion!,
if (package != null) 'package': package!,
if (packageType != null) 'packageType': packageType!,
if (unused != null) 'unused': unused!,
if (version != null) 'version': version!,
};