type method

Ol type(
  1. String numberingType, {
  2. bool? removeIf,
})

Sets the numbering type. Read more...

Implementation

Ol type(String numberingType, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('type', numberingType);
    node.attrs!.add(attr);
  }
  return this;
}