updateWithLinkParams method
void
updateWithLinkParams({})
override
Implementation
@override
void updateWithLinkParams({
required Map<String, Set<String>> linkParamMap,
required Map<String, String> paramTypeMap,
}) {
this._paramTypeMap = paramTypeMap;
this._params.addAll(linkParamMap.values.expand((e) => e));
// build a temporary TextNode to get the updated content
final temp = StringTextNode(
path: path,
raw: raw,
comment: comment,
interpolation: interpolation,
paramCase: paramCase,
linkParamMap: linkParamMap,
);
this._content = temp.content;
}