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