DependencyChecker class
Represents a single package that is a dependency of the package we are checking.
Constructors
- DependencyChecker({required Package package, required Config config})
- Default constructor
Properties
- config → Config
-
User config for the license checker.
final
-
copyright
→ Future<
String> -
Returns the copyright notice extracted from the license file.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- licenseFile → File?
-
Returns the license file associated with the package. Will check for various
different file names.
no setter
-
licenseName
→ Future<
String> -
The license name associated with the package
no setter
- name → String
-
The name of the package.
final
- package → Package
-
The package as defined in the package_config.
final
-
packageLicenseStatus
→ Future<
LicenseStatus> -
Returns the license status of the package.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLocation → String
-
Returns the location where the source can be found
no setter
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