packageRoot property Null safety
@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;