type method
This attribute is used to define the type of the content linked to. Read more...
Implementation
Link type(String mediaType, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('type', mediaType);
node.attrs!.add(attr);
}
return this;
}