packageConfigSync property - Isolate class - dart:isolate library (original) (raw)
- @Since('3.2')
Uri? getpackageConfigSync
The location of the package configuration file of the current isolate.
If the isolate was spawned without specifying its package configuration file then the returned value is null
.
Otherwise, the returned value is an absolute URI specifying the location of isolate's package configuration file.
The package configuration file is usually named package_config.json
, and you can use package:package_configto read and parse it.
Implementation
@Since('3.2')
external static Uri? get packageConfigSync;