ModuleResolver class
Resolves ModuleImport entries to concrete Module instances.
Constructors
- ModuleResolver({ContentAddressableCache? cache, Client? httpClient, RegistryResolver? registryResolver, String? basePath})
Properties
- basePath → String?
-
final
- cache → ContentAddressableCache
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client?
-
final
- registryResolver → RegistryResolver?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
ModuleImport import_) → Future< Module> - Resolve a single ModuleImport to a Module.
-
resolveAll(
Program program) → Future< Program> - Resolve all ModuleImport entries in a Program, returning a new Program with all imports inlined as concrete modules.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited