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;