toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (cpeUri != null) 'cpeUri': cpeUri!,
      if (license != null) 'license': license!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (packageType != null) 'packageType': packageType!,
      if (version != null) 'version': version!,
    };