max method

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

The upper numeric bound of the measured range. Read more...

Implementation

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