resolveModuleId method
Normalizes importPath (optionally relative to fromModule) to the
canonical id of a loadable module, or null if none matches.
Implementation
@override
String? resolveModuleId(
String importPath, {
String? fromModule,
String? language,
}) {
for (var loader in loaders) {
var id = loader.resolveModuleId(
importPath,
fromModule: fromModule,
language: language,
);
if (id != null) return id;
}
return null;
}