checked method
Whether the command or control is checked. Read more...
Implementation
Input checked(bool boolean) {
if (boolean && node.attrs != null) {
VirtualAttr attr = VirtualAttr('checked', '');
node.attrs!.add(attr);
}
return this;
}