String upperChar(String str) { var _tmp = str.replaceAllMapped(RegExp("_([a-zA-Z])"), (match) { return match.group(1)?.toUpperCase() ?? ''; }); return changeFirstChar(_tmp); }