capitalized property
Returns this String with its first letter capitalized.
Implementation
String get capitalized {
if (length <= 1) {
return substring(0).toUpperCase();
}
return '${substring(0, 1).toUpperCase()}${substring(1, length)}';
}