void createRpcConfig(Map<String, dynamic> config, String key, dynamic value) { if (value != null) { config[key] = value; } }