packageConfigSync property

  1. @Since('3.2')
Uri? packageConfigSync

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_config to read and parse it.


external static Uri? get packageConfigSync;