web_license_inventory library

Classes

WebLicenseComponent
A component of the web build: what it is, its license and the shipped files it covers.
WebLicenseInventory
The whole inventory: how many files the build ships and the components covering them.
WebLicenseText
One license text of a component, stored under its SHA-256 in one of the inventory's text chunks.
WebLicenseTexts
Reads license texts from bundle, decoding each chunk once however many texts it holds.

Constants

webLicenseGroups → const List<String>
The groups in the order the generator sorts them.
webLicenseIndexKey → const String
The inventory scripts/licenses/web-license-inventory.py writes into the built web app; no pubspec asset, so a web bundle fetches it.

Functions

loadWebLicenseInventory(dynamic bundle) → Future<WebLicenseInventory>
Reads the inventory from bundle; on the web this is a fetch below the app's assets/.