CodeAssetBuildOutputBuilderAdd extension type
Supports emitting code assets for build hooks.
Methods
-
add(
CodeAsset asset, {AssetRouting routing = const ToAppBundle()}) → void -
Adds the given
asset
to the hook output withrouting
. -
addAll(
Iterable< CodeAsset> assets, {AssetRouting routing = const ToAppBundle()}) → void -
Adds the given
assets
to the hook output withrouting
.