switchEnv method
Implementation
Future<bool> switchEnv(FirebaseEnvConfig config) async {
if (config.windowsConfig == null) return true;
logger.info('Updating Windows environment to: ${config.name}');
try {
await _updateConfig(config);
logger.success('Windows switch successful.');
return true;
} catch (e) {
throw PlatformHandlerException('Windows switch failed: $e');
}
}