runtimeDir top-level property
Directory?
runtimeDir
The base directory relative to which user-specific runtime
files and other file objects should be placed. (Corresponds to
$XDG_RUNTIME_DIR
).
Throws StateError if the HOME environment variable is not set.
Implementation
Directory? get runtimeDir => _directoryFromEnvironment('XDG_RUNTIME_DIR');