DataAssetBuildOutputBuilderAdd extension type

Supports emitting code assets for build hooks.

on

Methods

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