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