decoding method

Img decoding(
  1. String value, {
  2. bool? removeIf,
})

Provides an image decoding hint to the browser. Read more...

Implementation

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