hrefLang method
This attribute indicates the language of the linked resource. Read more...
Implementation
Link hrefLang(String langCode, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('hreflang', langCode);
node.attrs!.add(attr);
}
return this;
}