LicenseData class

This is a collection of licenses and the packages to which they apply. packageLicenseBindings records the m+:n+ relationship between the license and packages as a map of package names to license indexes.

Constructors

LicenseData()

Properties

firstPackage String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
licenses List<LicenseEntry>
final
packageLicenseBindings Map<String, List<int>>
final
packages List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLicense(LicenseEntry entry) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sortPackages([int compare(String a, String b)?]) → void
Sort the packages using some comparison method, or by the default manner, which is to put the application package first, followed by every other package in case-insensitive alphabetical order.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited