packageConfig property Null safety

Future<PackageConfig> packageConfig

Gets dependency package location relative to sourceApplicationDirectory.

Implementation

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