getCurrentProjectConfig method

ProjectConfig getCurrentProjectConfig()

Get the current project config.

Implementation

ProjectConfig getCurrentProjectConfig() {
  final config = getGlobalConfig();
  final projectPath = _getProjectPathForConfig();
  return config.projects?[projectPath] ?? ProjectConfig();
}