String toPascalCase(String text) { return text.split('_').map((word) => word[0].toUpperCase() + word.substring(1)).join(''); }