getConfigPath static method

String getConfigPath()

Gets the config file path.

Implementation

static String getConfigPath() {
  final home = PathUtils.getHomeDirectory();
  if (home.isEmpty) {
    throw Exception('Cannot determine home directory');
  }
  return path.join(home, '.flutter_cache_cleaner', 'config.json');
}