使用新的key替换旧的key,value保持不变
void replaceKey(String newKey, String oldKey) { final value = _data[oldKey]; if (value == null) { return; } _data[newKey] = value; _data.remove(oldKey); }