toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (classification != null) 'classification': classification!,
      if (cpeUri != null) 'cpeUri': cpeUri!,
      if (cve != null) 'cve': cve!,
      if (severity != null) 'severity': severity!,
    };