add method

void add(
  1. DataAsset asset
)

Adds the given asset to the link hook output.

Implementation

void add(DataAsset asset) => _output.addEncodedAsset(asset.encode());