capitalize property
String
get
capitalize
Implementation
String get capitalize {
if (isEmpty) return this;
return this[0].toUpperCase() + substring(1);
}
String get capitalize {
if (isEmpty) return this;
return this[0].toUpperCase() + substring(1);
}