target method

Area target(
  1. String context, {
  2. bool? removeIf,
})

A keyword or author-defined name of the browsing context to display the linked resource. Read more...

Implementation

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