setupLinkConfig method

void setupLinkConfig({
  1. required List<EncodedAsset> assets,
})

Implementation

void setupLinkConfig({
  required List<EncodedAsset> assets,
}) {
  json[_assetsKey] = [for (final asset in assets) asset.toJson()];
}