toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (affectedCpeUri != null) 'affectedCpeUri': affectedCpeUri!,
      if (affectedPackage != null) 'affectedPackage': affectedPackage!,
      if (affectedVersion != null) 'affectedVersion': affectedVersion!,
      if (effectiveSeverity != null) 'effectiveSeverity': effectiveSeverity!,
      if (fixAvailable != null) 'fixAvailable': fixAvailable!,
      if (fixedCpeUri != null) 'fixedCpeUri': fixedCpeUri!,
      if (fixedPackage != null) 'fixedPackage': fixedPackage!,
      if (fixedVersion != null) 'fixedVersion': fixedVersion!,
      if (packageType != null) 'packageType': packageType!,
    };