packageConfig property
Future<PackageConfig>
get
packageConfig
Returns a PackageConfig
resolvable from this build step.
The package config contains all packages involved in the build. Typically, this is the package config taken from the current isolate.
The returned package config does not use file:/
-based URIs and can't be
used to access package contents with dart:io
. Instead, packages resolve
to asset:/
URIs that can be parsed with AssetId.resolve and read with
readAsBytes or readAsString.
Implementation
Future<PackageConfig> get packageConfig;