processArgument property

Future<String> processArgument

Returns the argument to pass to a subprocess to get it to use this package resolution strategy when resolving package: URIs.

This uses the --package-root or --package flags, which are the conventions supported by the Dart VM and dart2js.

Note that if packageConfigUri is a data: URI, it may be too large to pass on the command line.

Returns null if no package resolution is in use.


Future<String> get processArgument;