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 (description != null) 'description': description!,
      if (latestVersion != null) 'latestVersion': latestVersion!.toJson(),
      if (maintainer != null) 'maintainer': maintainer!,
      if (url != null) 'url': url!,
    };