add method

void add(
  1. CodeAsset asset
)

Adds the given asset to the link hook output.

Implementation

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