alt method
A text alternative to display on browsers that do not display images. Read more...
Implementation
Area alt(String text, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('alt', text);
node.attrs!.add(attr);
}
return this;
}