addAll method

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

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

Implementation

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