sourceMapUrl property

Uri get sourceMapUrl

An absolute, browser-accessible URL indicating the resolved location of the imported stylesheet.

This should be a file: URL if one is available, but an http: URL is acceptable as well. If no URL is supplied, a data: URL is generated automatically from contents.

Implementation

Uri get sourceMapUrl =>
    _sourceMapUrl ?? Uri.dataFromString(contents, encoding: utf8);