lowerCaseFirstLetter static method
Returns a String with first letter lower cased.
Implementation
static String lowerCaseFirstLetter(String text, {bool upperCaseRest = true}) {
return '${text.substring(0, 1).toLowerCase()}${upperCaseRest ? text.substring(1).toUpperCase() : text.substring(1)}';
}