PackageGraph.uninitialized constructor

PackageGraph.uninitialized(
  1. DartdocOptionContext config,
  2. DartSdk sdk,
  3. bool hasEmbedderSdk,
  4. RendererFactory rendererFactory,
  5. PackageMetaProvider packageMetaProvider
)

Implementation

PackageGraph.uninitialized(
  this.config,
  this.sdk,
  this.hasEmbedderSdk,
  this.rendererFactory,
  this.packageMetaProvider,
) : packageMeta = config.topLevelPackageMeta {
  _packageWarningCounter = PackageWarningCounter(this);
  // Make sure the default package exists, even if it has no libraries.
  // This can happen for packages that only contain embedder SDKs.
  Package.fromPackageMeta(packageMeta, this);
}