String replaceKey(String key, [bool needReplaceCross = true]) { if (needReplaceCross) { return key.toUpperCase().replaceAll("-", "_"); } return key.toUpperCase(); }