toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cvssScore != null) 'cvssScore': cvssScore!,
      if (cvssV2 != null) 'cvssV2': cvssV2!,
      if (cvssVersion != null) 'cvssVersion': cvssVersion!,
      if (cvssv3 != null) 'cvssv3': cvssv3!,
      if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!,
      if (extraDetails != null) 'extraDetails': extraDetails!,
      if (fixAvailable != null) 'fixAvailable': fixAvailable!,
      if (longDescription != null) 'longDescription': longDescription!,
      if (packageIssue != null) 'packageIssue': packageIssue!,
      if (relatedUrls != null) 'relatedUrls': relatedUrls!,
      if (severity != null) 'severity': severity!,
      if (shortDescription != null) 'shortDescription': shortDescription!,
      if (type != null) 'type': type!,
      if (vexAssessment != null) 'vexAssessment': vexAssessment!,
    };