loadModule abstract method
Loads a module from the given URI.
uri The resolved URI of the module to load (package:, dart:, or file:).
showNames Optional set of names to show (import ... show x, y).
hideNames Optional set of names to hide (import ... hide x, y).
Returns a LoadedModule containing the AST and exported environment.
Throws RuntimeD4rtException if the module cannot be loaded.
Implementation
LoadedModule loadModule(
Uri uri, {
Set<String>? showNames,
Set<String>? hideNames,
});