addAll method

void addAll(
  1. Iterable<CodeAsset> assets, {
  2. String? linkInPackage,
})

Adds the given assets to the hook output (or send to linkInPackage for linking if provided).

Implementation

void addAll(Iterable<CodeAsset> assets, {String? linkInPackage}) {
  for (final asset in assets) {
    add(asset, linkInPackage: linkInPackage);
  }
}