ProfileLock class final
wayfinder.lock: every package a project's Profiles need, one revision
per Profile id, keyed by id.
Constructors
-
ProfileLock({required String configurationSha256, required Map<
ProfileId, LockedPackage> packages}) -
const
Properties
- configurationSha256 → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
packages
→ Map<
ProfileId, LockedPackage> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
chainOf(
ProfileId id) → List< LockedPackage> ? -
The chain of
id, root ancestor first, by followingextends. Null when an entry is missing or the pointers loop, which only a hand-edited lock can do. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Packages in id order, so the same packages always write the same bytes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryParse(
Object? value) → ProfileLock? -
Null for anything but the current shape, including an older lock,
which
getthen rewrites.