SearchResource class final

The NuGet Search resource, used to search for packages.

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

Inheritance

Constructors

SearchResource({Client? httpClient, required Uri resourceUri})

Properties

hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
The underlying HTTP client used to make requests.
finalinherited
resourceUri Uri
The Uri of the NuGet resource.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the underlying HTTP client.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchPackages(String? query, {bool includePrerelease = false, bool includeSemVer2 = true, int? skip, int? take}) Future<SearchResponse>
Retrieves the packages that match the query.
toString() String
A string representation of this object.
inherited

Operators

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