useMap method

Img useMap(
  1. String id, {
  2. bool? removeIf,
})

The partial URL (starting with #) of an image map associated with the element. Read more...

Implementation

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