ServiceIndexResource class final

The NuGet Service Index resource, used to discover other resources.

See https://learn.microsoft.com/nuget/api/service-index

Inheritance

Constructors

ServiceIndexResource({Client? httpClient, required Uri resourceUri})
Creates a new instance of the ServiceIndexResource class.

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
get() Future<ServiceIndexResponse>
Retrieves the resources available on the package feed defined in resourceUri.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

nugetOrgServiceIndex Uri
The official NuGet.org service index.
final