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 (cvssV3 != null) 'cvssV3': cvssV3!,
      if (cvssVersion != null) 'cvssVersion': cvssVersion!,
      if (details != null) 'details': details!,
      if (severity != null) 'severity': severity!,
      if (sourceUpdateTime != null) 'sourceUpdateTime': sourceUpdateTime!,
      if (windowsDetails != null) 'windowsDetails': windowsDetails!,
    };