AsyncImportCache.only constructor
AsyncImportCache.only(
- Iterable<
AsyncImporter> importers, { - Logger? logger,
Creates an import cache without any globally-available importers, and only the passed in importers.
Implementation
AsyncImportCache.only(Iterable<AsyncImporter> importers, {Logger? logger})
: _importers = List.unmodifiable(importers),
_logger = logger ?? const Logger.stderr();