decapitalize method
Returns a copy of this string with the first character lowercased.
'Hello'.decapitalize(); // "hello"
''.decapitalize(); // ""
Implementation
String decapitalize() {
if (isEmpty) return '';
return '${this[0].toLowerCase()}${substring(1)}';
}