LockFileEntry class

A single package entry in the lock file.

Constructors

LockFileEntry({required String name, required SemanticVersion version, required String source, String? resolved, String? gitRef, String? checksum, Map<String, String> dependencies = const {}})
const
LockFileEntry.fromJson(String name, Map<String, dynamic> json)
factory

Properties

checksum → String?
Checksum for integrity verification.
final
dependencies → Map<String, String>
Dependencies of this package.
final
gitRef → String?
Git reference (for git sources).
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Package name.
final
resolved → String?
Resolved URL or path.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
Package source (registry, git, path).
final
version → SemanticVersion
Resolved version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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