registerAnthologyLicenses function

void registerAnthologyLicenses({
  1. AssetBundle? bundle,
})

Registers the licences of files this package bundles that pub's NOTICES omit; idempotent.

Implementation

void registerAnthologyLicenses({AssetBundle? bundle}) {
  if (_anthologyLicensesRegistered) {
    return;
  }
  _anthologyLicensesRegistered = true;
  registerAssetLicense(<String>['Roboto'], robotoLicenseAsset, bundle: bundle);
}