getUserConfigPath method

String? getUserConfigPath()

Get absolute path to user config file (if applicable)

Implementation

String? getUserConfigPath() {
  if (userConfigPath == null) return null;
  final home = Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
  if (home == null) return null;
  return p.join(home, userConfigPath!);
}