contextCollection property

AnalysisContextCollection contextCollection

Implementation

AnalysisContextCollection get contextCollection {
  _contextCollection ??= AnalysisContextCollectionImpl(
      includedPaths: [config.inputDir],
      // TODO(jcollins-g): should we pass excluded directories here instead of
      // handling it ourselves?
      resourceProvider: resourceProvider,
      sdkPath: config.sdkDir,
      updateAnalysisOptions: (AnalysisOptionsImpl options) => options
        ..hint = false
        ..lint = false);

  return _contextCollection;
}