SearchEntry class final

A resource in the data List from the SearchResponse class.

See https://learn.microsoft.com/nuget/api/search-query-service-resource#search-result

Constructors

SearchEntry({required String packageId, required String version, required List<VersionItem> versions, String? description, required String authors, String? iconUrl, String? licenseUrl, String? owners, String? projectUrl, String? registration, String? summary, required String tags, String? title, int? totalDownloads, bool? verified})
const
SearchEntry.fromJson(Map<String, dynamic> json)
factory

Properties

authors String
The package's authors.
final
description String?
The package's description.
final
hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
The URL to the package's icon.
final
licenseUrl String?
The URL to the package's license.
final
owners String?
final
packageId String
The ID of the package.
final
projectUrl String?
The URL for the package's home page.
final
registration String?
The absolute URL to the associated registration index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summary String?
The package's summary.
final
tags String
The package's tags.
final
title String?
The package's title.
final
totalDownloads int?
This value can be inferred by the sum of downloads in the versions List.
final
verified bool?
Whether the package is verified.
final
version String
The full NuGet version after normalization, including any SemVer 2.0.0 build metadata.
final
versions List<VersionItem>
All of the versions of the package matching the prerelease parameter.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited