value method

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

This attribute specifies the machine-readable translation of the content of the element. Read more...

Implementation

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