PackageChecker class
Represents the config of the package we are checking dependencies for.
Properties
- config → Config
-
The liscense checker config. Includes permitted licenses and approved packages.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
packages
→ List<
DependencyChecker> -
Add dependent packages
final
- pubspec → Pubspec
-
The pubspec config for the package
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
fromCurrentDirectory(
{required Config config}) → Future< PackageChecker> - Creates a package checker by checking the current directory for a pubspec.yaml and a package_config.json file.
-
fromDirectory(
{required Directory directory, required Config config}) → Future< PackageChecker> - Creates a package checker by checking the directory for a pubspec.yaml and a package_config.json file.