CssStyleDeclaration.css constructor Null safety
- String css
Implementation
factory CssStyleDeclaration.css(String css) {
final style = new DivElement().style;
style.cssText = css;
return style;
}
factory CssStyleDeclaration.css(String css) {
final style = new DivElement().style;
style.cssText = css;
return style;
}