parseRule static method
Implementation
static CSSRule? parseRule(String text, {CSSStyleSheet? parentStyleSheet}) {
// TODO: parse other css rule
CSSStyleRule? rule = CSSStyleRuleParser.parse(text);
if (rule != null) {
rule.parentStyleSheet = parentStyleSheet;
}
return rule;
}