current property

Future<SyncPackageResolver> current
final

Returns a package resolution strategy describing how the current isolate resolves package: URIs.

This may throw exceptions if loading or parsing the isolate's package map fails.

Implementation

static final Future<SyncPackageResolver> current =
    PackageResolver.current.asSync