camelCase function
Convert to camelCase.
Implementation
String camelCase(String text) {
final words = _splitWords(text);
if (words.isEmpty) return '';
return words.first.toLowerCase() +
words
.skip(1)
.map((w) => w[0].toUpperCase() + w.substring(1).toLowerCase())
.join();
}