type method
The MIME type to use to select the plug-in to instantiate. Read more...
Implementation
Embed type(String mediaType, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('type', mediaType);
node.attrs!.add(attr);
}
return this;
}