name method

Meta name(
  1. String name, {
  2. bool? removeIf,
})

The name and content attributes can be used together to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value. Read more...

Implementation

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