An interface for importers that resolves URLs in
@imports to the contents
of Sass files.
Importers should override
toString to provide a human-readable description
of the importer. For example, the default filesystem importer returns its
This class should only be extended by importers that need to do
asynchronous work. It's only compatible with the asynchronous
methods. If an importer can work synchronously, it should extend Importer
Subclasses should extend AsyncImporter, not implement it.
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
Uri url) → FutureOr< Uri>
urlis recognized by this importer, returns its canonical format. [...]
Uri url) → FutureOr< ImporterResult>
Loads the Sass text for the given
url, or returns
nullif this importer can't find the stylesheet it refers to. [...]
Uri url) → FutureOr< DateTime>
Returns the time that the Sass file at
urlwas last modified. [...]
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
Returns a string representation of this object.
dynamic other) → bool
The equality operator.