packageConfig property

String? packageConfig

The --packages flag passed to the executable used to run the script in this isolate.

If present, it specifies a file describing how Dart packages are looked up.

Is null if there is no --packages flag.

Implementation

static String? get packageConfig => _Platform.packageConfig;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/Platform/packageConfig.html