toCamelCase method

String toCamelCase()

Implementation

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