Given the 'embedderYamls' from EmbedderYamlLocator check each one for the
top level key 'embedded_libs'. Under the 'embedded_libs' key are key value
pairs. Each key is a 'dart:' library uri and each value is a path
(relative to the directory containing
_embedder.yaml) to a dart script
for the given library. For example:
embedded_libs: 'dart:io': '../../sdk/io/io.dart'
If a key doesn't begin with
dart: it is ignored.
This class is deprecated; use DartUriResolver directly. In particular, if there used to be an instance creation of the form:
This should be replaced by
new DartUriResolver(new EmbedderSdk(embedderMap))
- dartSdk → DartSdk
DartSdkagainst which URIs are to be resolved. [...]read-only
- hashCode → int
The hash code for this object. [...]
- length → int
Number of embedded libraries.
- runtimeType → Type
A representation of the runtime type of the object.
) → void
- Clear any cached URI resolution information.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
Uri uri, [Uri actualUri]) → Source
Resolve the given absolute URI. Return a
Sourcerepresenting the file to which it was resolved, whether or not the resulting source exists, or
nullif it could not be resolved because the URI is invalid. [...]
Source source) → Uri
Return an absolute URI that represents the given
nullif a valid URI cannot be computed. [...]
) → String
A string representation of this object. [...]