thisFor method
The value of the for attribute must be a single id
for a labelable form-related element in the same
document as the <label>
element.
Read more...
Implementation
Label thisFor(String id, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('for', id);
node.attrs!.add(attr);
}
return this;
}