AsyncImportCache.none constructor Null safety

AsyncImportCache.none(
  1. {Logger? logger}
)

Creates an import cache without any globally-available importers.

Implementation

AsyncImportCache.none({Logger? logger})
    : _importers = const [],
      _logger = logger ?? const Logger.stderr();