toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cvssv3 != null) 'cvssv3': cvssv3!,
      if (exploitationActivity != null)
        'exploitationActivity': exploitationActivity!,
      if (id != null) 'id': id!,
      if (impact != null) 'impact': impact!,
      if (observedInTheWild != null) 'observedInTheWild': observedInTheWild!,
      if (references != null) 'references': references!,
      if (upstreamFixAvailable != null)
        'upstreamFixAvailable': upstreamFixAvailable!,
      if (zeroDay != null) 'zeroDay': zeroDay!,
    };