multiple method

Input multiple(
  1. bool boolean
)

Whether to allow multiple values. Read more...

Implementation

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