integrity method

Link integrity(
  1. String metaData, {
  2. bool? removeIf,
})

Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you're telling the browser to fetch. Read more...

Implementation

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