packageConfig property

Future<PackageConfig> get packageConfig

Gets dependency package location relative to sourceApplicationDirectory.

Implementation

Future<PackageConfig> get packageConfig async {
  if (_packageConfig == null) {
    _packageConfig = (await findPackageConfig(sourceApplicationDirectory))!;
  }
  return _packageConfig!;
}