PubspecManager class

Manager for pubspec.yaml file operations

Constructors

PubspecManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

applyChanges(List<DependencyChange> changes) Future<bool>
Apply dependency changes to pubspec.yaml while preserving structure
findDependencyLines(List<String> lines, int startIndex, int sectionEndIndex) List<int>
Find all lines that belong to a dependency (including multi-line dependencies)
readPubspec() Future<PubspecData>
Read and parse pubspec.yaml file