ApplicationLicensesController class
A controller class to retrieve the licenses registered in the application.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
licenses
→ Future<
PackageLicenses> -
Creates a Future PackageDetails which will join the LicenseRegistry
licenses with the provided index value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLicenseEntries(
List< int> bindings, List<LicenseEntry> licenses) → List<LicenseEntry> -
Create List of
LicenseEntry
s to include package specific licensed based on the bindings and the List ofLicenseEntry
s containing all licenses. List of [] -
getPackageLicenseContracts(
Map< String, List< packageLicenseBindings, String packageName) → List<int> >int> ? - Get the contract of the package and its licenses by setting the bindings Map key to the provided package name. This will extract the corresponsing index values of the independend List objects.
-
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