toCamelCase method

String toCamelCase()

Implementation

String toCamelCase() {
  final words = getWords();
  final leadingWords = words.getRange(1, words.length).toList();
  final leadingWord = leadingWords.map((e) => e.toTitleCase()).join();
  return '${words[0].toLowerCase()}$leadingWord';
}