replaceSync method
Synchronously replaces the content of the stylesheet with the content passed into it.
Implementation
replaceSync(String text) {
cssRules.clear();
cssRules.addAll(CSSParser.parseRules(text));
}
Synchronously replaces the content of the stylesheet with the content passed into it.
replaceSync(String text) {
cssRules.clear();
cssRules.addAll(CSSParser.parseRules(text));
}