capitalize property
String
capitalize
Capitalize the first letter.
Implementation
String get capitalize {
if (this.length > 1) {
return '${this[0].toUpperCase()}${this.substring(1)}';
}
return this.toUpperCase();
}