newCSSStyleDeclaration function
Implementation
CSSStyleDeclaration newCSSStyleDeclaration({String? cssText}) {
var style = HTMLTemplateElement().style;
if (cssText != null && cssText.isNotEmpty) {
style.cssText = cssText;
}
return style;
}