value method

Option value(
  1. dynamic value, {
  2. bool? removeIf,
})

The content of this attribute represents the value to be submitted with the form, should this option be selected. Read more...

Implementation

Option value(dynamic value, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('value', value.toString());
    node.attrs!.add(attr);
  }
  return this;
}