String packageConfig

Returns the value of the --packages flag passed to the executable used to run the script in this isolate. This is the configuration which specifies how Dart packages are looked up.

If there is no --packages flag, null is returned.

Source

static String get packageConfig => _Platform.packageConfig;