parseRules static method

List<CSSRule> parseRules(
  1. String text, {
  2. CSSStyleSheet? parentStyleSheet,
})

Implementation

static List<CSSRule> parseRules(String text, {CSSStyleSheet? parentStyleSheet}) {
  // TODO: should ingore style rule in at-rules
  return CSSStyleSheetParser.parse(text);
}