label method
The name of the group of options, which the browser can use when labeling the options in the user interface. Read more...
Implementation
OptGroup label(String text, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('label', text);
node.attrs!.add(attr);
}
return this;
}