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>>
Map for 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
omitDisclaimer List<String>
List of packages who's license and copyright notice should not be added to the discalimer
final
packageLicenseOverride Map<String, String>
Map to override licenses for packages, if they are not parsed correctly.
final
packageSourceOverride Map<String, String>
Map to override the source location for packages, if they are not parsed correctly or present in the pubspec.yaml.
final
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