removeUnusedDependencies abstract method
Removes the specified unused dependencies from the project.
This method executes dart pub remove
for each dependency in the provided unusedDependencies
set.
unusedDependencies
: A set of dependency names to be removed frompubspec.yaml
.
Throws an exception if the removal process encounters errors.
Implementation
Future<void> removeUnusedDependencies(Set<String> unusedDependencies);