cacheHome top-level property

Directory cacheHome

The base directory relative to which user-specific non-essential (cached) data should be written. (Corresponds to $XDG_CACHE_HOME).

Throws StateError if the HOME environment variable is not set.

Implementation

Directory get cacheHome =>
    _directoryFromEnvironmentWithFallback('XDG_CACHE_HOME', '.cache');