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