multiple method

Select multiple(
  1. bool boolean
)

This attribute indicates that multiple options can be selected in the list. Read more...

Implementation

Select multiple(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('multiple', '');
    node.attrs!.add(attr);
  }
  return this;
}