DependencyRepository class abstract
Abstract repository interface for managing project dependencies.
This repository provides methods to retrieve and manipulate dependencies in a Dart/Flutter project.
- Implementers
Constructors
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
-
getAllDependencies(
) → Future< Set< String> > -
Retrieves all dependencies listed in
pubspec.yaml
, includingdependencies
anddev_dependencies
. -
getUsedDependencies(
) → Future< Set< String> > -
Retrieves the set of dependencies that are actually used in the project's
.dart
files. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeUnusedDependencies(
Set< String> unusedDependencies) → Future<void> - Removes the specified unused dependencies from the project.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited