LockedPackage class final

One package as wayfinder get pinned it. extendsId names another entry of the same lock, so the lock stays flat however deep a chain is.

Constructors

LockedPackage({required ProfileId id, required String release, required String git, required String requestedRef, required String commit, required String path, ProfileId? extendsId})
const

Properties

commit → String
final
extendsId → ProfileId?
final
git → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → ProfileId
final
path → String
final
release → String
final
requestedRef → String
final
revision → SkillRevision
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → WayfinderProfileSource
no setter

Methods

isSameRevision(LockedPackage other) → bool
A locked package is identified by its source, (git, requested ref, path), as pub identifies a git dependency, and then by its commit. select and _checkout look entries up by that source, so two refs at one commit are still two packages and may not share one entry.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

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