packageRoot property

String packageRoot

The value of the --package-root flag passed to the executable used to run the script in this isolate. This is the directory in which Dart packages are looked up.

If there is no --package-root flag, null is returned.

Implementation

String get packageRoot;