withFirstLetterAsLowerCase method
Converts the first letter of the string to lowercase.
Implementation
String withFirstLetterAsLowerCase() {
if (isEmpty) return this;
return this[0].toLowerCase() + substring(1);
}
Converts the first letter of the string to lowercase.
String withFirstLetterAsLowerCase() {
if (isEmpty) return this;
return this[0].toLowerCase() + substring(1);
}