addAll method

void addAll(
  1. Iterable<CodeAsset> assets, {
  2. AssetRouting routing = const ToAppBundle(),
})

Adds the given assets to the hook output with routing.

Implementation

void addAll(
  Iterable<CodeAsset> assets, {
  AssetRouting routing = const ToAppBundle(),
}) {
  for (final asset in assets) {
    add(asset, routing: routing);
  }
}