upperCaseFirstChar method
Implementation
String upperCaseFirstChar() {
if (length <= 1) {
return toUpperCase();
}
return '${this[0].toUpperCase()}${substring(1).toLowerCase()}';
}
String upperCaseFirstChar() {
if (length <= 1) {
return toUpperCase();
}
return '${this[0].toUpperCase()}${substring(1).toLowerCase()}';
}