PackageVersion class
One package's pubspec-derived PackageInfo paired with the archive URL for that same version (CLI live-check task, 2026-09-27), from either PubDevClient.fetchPackageVersion (an exact locked version) or PubDevClient.fetchLatestPackageVersion (a fallback when that version isn't locked).
Constructors
- PackageVersion({required PackageInfo info, required Uri archiveUrl})
-
const
Properties
- archiveUrl → Uri
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → PackageInfo
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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