pubspec_lock_reader library Null safety

Reads pubspec.lock file from main directory.

Classes

GitPackageDependency
Structure of GIT package dependency.
HostedPackageDependency
Structure of hosted package dependency.
PackageDependency
Structure of basic package dependency
PathPackageDependency
Structure of path package dependency.
PubspecLock
Normalize pubspec.lock content into readable object.
SdkPackageDependency
Structure of SDK package dependency.

Functions

dependencyTypeFromString(String string) DependencyType
Transforms string into DependencyType
getPubspecLock() PubspecLock
Reads pubspec.lock from main directory and creates PubspecLock

Enums

DependencyType
Dependency type specified by "dependency" keys in pubspec.lock files