toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cve != null) 'cve': cve!,
      if (impacts != null) 'impacts': impacts!,
      if (justification != null) 'justification': justification!,
      if (longDescription != null) 'longDescription': longDescription!,
      if (relatedUris != null) 'relatedUris': relatedUris!,
      if (remediations != null) 'remediations': remediations!,
      if (shortDescription != null) 'shortDescription': shortDescription!,
      if (state != null) 'state': state!,
      if (vulnerabilityId != null) 'vulnerabilityId': vulnerabilityId!,
    };