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