firstUpper property
String
get
firstUpper
To upper case the first letter
Implementation
String get firstUpper {
if (isNotEmpty) {
return this[0].toUpperCase() + substring(1);
}
return this;
}
To upper case the first letter
String get firstUpper {
if (isNotEmpty) {
return this[0].toUpperCase() + substring(1);
}
return this;
}