DocumentFragment instanceTemplate(TemplateElement template)

Calls importNode on the content of the template specified and returns a document fragment containing the imported content.

Source

DocumentFragment instanceTemplate(TemplateElement template) =>
    jsElement.callMethod('instanceTemplate', [template]);