DependencyAudit class
What the package's own directives say about its pubspec.yaml.
Properties
-
devOnly
→ Map<
String, List< String> > -
Package -> the
lib/,bin/orhook/files that import it while it is declared only underdev_dependencies:. Sorted by package, then file.final - findings → int
-
What fails
--report --exit-if-changed: each dev-only package, once, however many files import it. That one breaks every consumer and is almost never wrong.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unused
→ List<
String> -
Declared under
dependencies:and named by no directive anywhere in the package. Sorted.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - The audit as a JSON-ready map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited