CodeAssetBuildOutputBuilderAdd extension type
Supports emitting code assets for build hooks.
Methods
-
add(
CodeAsset asset, {String? linkInPackage}) → void -
Adds the given
asset
to the hook output (or send tolinkInPackage
for linking if provided). -
addAll(
Iterable< CodeAsset> assets, {String? linkInPackage}) → void -
Adds the given
assets
to the hook output (or send tolinkInPackage
for linking if provided).