packageRoot property
The --package-root
flag passed to the executable used to run the script
in this isolate.
If present, it specifies the directory where Dart packages are looked up.
Is null
if there is no --package-root
flag.
Implementation
static String get packageRoot => _Platform.packageRoot;