toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cve != null) 'cve': cve!,
      if (cvssV2Score != null) 'cvssV2Score': cvssV2Score!,
      if (cvssV3 != null) 'cvssV3': cvssV3!,
      if (description != null) 'description': description!,
      if (references != null) 'references': references!,
      if (severity != null) 'severity': severity!,
    };