open method
This attribute indicates whether the details
— that is, the contents of the <details>
element — are currently visible.
Read more...
Implementation
Details open(bool boolean) {
if (boolean && node.attrs != null) {
VirtualAttr attr = VirtualAttr('open', '');
node.attrs!.add(attr);
}
return this;
}