src method

Img src(
  1. String url, {
  2. bool? removeIf,
})

The image URL. Read more...

Implementation

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