dataHome top-level property
Directory
dataHome
The base directory relative to which user-specific data files should be
written. (Corresponds to $XDG_DATA_HOME
).
Throws StateError if the HOME environment variable is not set.
Implementation
Directory get dataHome =>
_directoryFromEnvironmentWithFallback('XDG_DATA_HOME', '.local/share');