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