src method

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

The URL of the video to embed. Read more...

Implementation

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