cacheDir property

String cacheDir

Returns the directory name of the pub cache.

e.g. .pub-cache

Dart allows the user to modify the location of the .pub-cache by setting the environment var PUB_CACHE.

This method processes PUB_CACHE if it exists.

Implementation

String get cacheDir => _pubCacheDir;