add method
Adds the given asset
to the hook output (or send to linkInPackage
for linking if provided).
Implementation
void add(DataAsset asset, {String? linkInPackage}) =>
_output.addEncodedAsset(asset.encode(), linkInPackage: linkInPackage);