Config class
Represents the config parsed from a config file for the license checker.
Constructors
- Config.fromFile(File configFile)
-
Parses and creates config from a file
factory
Properties
-
approvedPackages
→ Map<
String, List< String> > -
Packages by license that have been explicitly approved.
final
-
copyrightNotice
→ Map<
String, String> -
Map to override copyright notices for packages, if they are not parsed correctly.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
permittedLicenses
→ List<
String> -
List of permitted license.
final
-
rejectedLicenses
→ List<
String> -
List of licenses that are not allowed to be used by default.
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