target method
A keyword or author-defined name of the default
browsing context to show the results of navigation
from <a>, <area>, or <form> elements
without explicit target attributes.
Read more...
Implementation
Base target(String context, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('target', context);
node.attrs!.add(attr);
}
return this;
}