appDir property

Directory get appDir

Get the base directory for app configuration and data

Implementation

static Directory get appDir {
  final homeDir =
      Platform.environment['HOME'] ??
      Platform.environment['USERPROFILE'] ??
      '.';
  return Directory(path.join(homeDir, appDirName));
}