packageConfig property Null safety

  1. @override
String? packageConfig

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.


String? get packageConfig => io.Platform.packageConfig;