AsyncImportCache.only constructor

AsyncImportCache.only(
  1. Iterable<AsyncImporter> importers
)

Creates an import cache without any globally-available importers, and only the passed in importers.

Implementation

AsyncImportCache.only(Iterable<AsyncImporter> importers)
    : _importers = List.unmodifiable(importers);