href method
The base URL to be used throughout the document for relative URLs. Read more...
Implementation
Base href(String url, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('href', url);
node.attrs!.add(attr);
}
return this;
}