CodeAssetBuildOutputBuilderAdd extension type

Supports emitting code assets for build hooks.

on

Methods

add(CodeAsset asset, {String? linkInPackage}) → void
Adds the given asset to the hook output (or send to linkInPackage for linking if provided).
addAll(Iterable<CodeAsset> assets, {String? linkInPackage}) → void
Adds the given assets to the hook output (or send to linkInPackage for linking if provided).