max method

Progress max(
  1. num number, {
  2. bool? removeIf,
})

This attribute describes how much work the task indicated by the progress element requires. Read more...

Implementation

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