value method

Li value(
  1. int number, {
  2. bool? removeIf,
})

This attribute indicates the current ordinal value of the list item as defined by the <ol> element. Read more...

Implementation

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