SearchResponse class final
Represents the response from the Search Resource's Search for packages
API.
See https://learn.microsoft.com/nuget/api/search-query-service-resource#response
Constructors
-
SearchResponse({required int totalHits, required List<
SearchEntry> data}) -
const
-
SearchResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
data
→ List<
SearchEntry> -
The search results matched by the request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalHits → int
-
The total number of matches, disregarding
skip
andtake
.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