assetLicense function
- AssetBundle bundle,
- List<
String> packages, - String assetKey
One licence entry for packages, its text read from bundle at assetKey.
Implementation
Stream<LicenseEntry> assetLicense(
AssetBundle bundle,
List<String> packages,
String assetKey,
) async* {
yield LicenseEntryWithLineBreaks(packages, await bundle.loadString(assetKey));
}