cacheFilePath property

String get cacheFilePath

Get cache file path for external access

Implementation

static String get cacheFilePath {
  final String homeDir = Platform.environment['HOME'] ??
      Platform.environment['USERPROFILE'] ??
      '.';
  final String cacheDir =
      path.join(homeDir, CategorizationConfig.userCacheDirectory);
  return path.join(cacheDir, CategorizationConfig.cacheFileName);
}