rel method

A rel(
  1. List<String> typeList, {
  2. bool? removeIf,
})

The relationship of the linked URL as link types. Read more...

Implementation

A rel(List<String> typeList, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('rel', _html.listToSpaces(typeList));
    node.attrs!.add(attr);
  }
  return this;
}