toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cpeUri != null) 'cpeUri': cpeUri!,
      if (packageName != null) 'packageName': packageName!,
      if (packageType != null) 'packageType': packageType!,
      if (packageVersion != null) 'packageVersion': packageVersion!,
    };