Stylesheet.parseScss constructor
Parses an SCSS stylesheet from contents
.
If passed, url
is the name of the file from which contents
comes.
Throws a SassFormatException if parsing fails.
Implementation
factory Stylesheet.parseScss(String contents,
{Object? url, Logger? logger}) =>
ScssParser(contents, url: url, logger: logger).parse();