PubspecParser class
A utility class responsible for parsing dependencies from a pubspec.yaml
file.
This class reads the project's pubspec.yaml
file and extracts both regular
and development dependencies, returning them as a set of package names.
Constructors
- PubspecParser.new({String filePath = 'pubspec.yaml'})
- Creates a new instance of PubspecParser.
Properties
Methods
-
getDependencies(
) → Future< Set< String> > -
Retrieves all dependencies listed in the
pubspec.yaml
file. -
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