dependencies library
Classes
- DependencyAudit
-
What the package's own directives say about its
pubspec.yaml.
Constants
-
usedWithoutImport
→ const Set<
String> - Packages a project declares and, by design, never imports.
Functions
-
auditDependencies(
Map< Object?, Object?> pubspec, {required Map<String, List< directivesByFile, Iterable<String> >String> ignored = const [], Iterable<String> otherPackages = const []}) → DependencyAudit -
Checks the
dependencies:anddev_dependencies:ofpubspecagainst the URIs indirectivesByFile— project-relative path to every URI the file'simport,exportandpartdirectives name.