target method

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

Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). Read more...

Implementation

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