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.

Source

static String get packageConfig => _Platform.packageConfig;

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