VersionItem class final
A resource in the versions
List from the SearchEntry
class.
See https://learn.microsoft.com/nuget/api/search-query-service-resource#search-result
Constructors
- VersionItem({required String registrationLeafUrl, required String version, required int downloads})
-
const
-
VersionItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- downloads → int
-
The number of downloads for this specific package version.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registrationLeafUrl → String
-
The absolute URL to the associated registration leaf.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
The full SemVer 2.0.0 version string of the package (could contain build
metadata).
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