packageRoot property
@Deprecated('packages/ directory resolution is not supported in Dart 2.')
The package root of the current isolate, if any.
This getter returns null
, as the packages/
directory is not supported in Dart 2.
Implementation
@Deprecated('packages/ directory resolution is not supported in Dart 2.') external static Future<Uri?> get packageRoot;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-isolate/Isolate/packageRoot.html