capitalize property
String
get
capitalize
Capitalizes the first letter of the string.
Implementation
String get capitalize {
if (this == null || this!.isEmpty) return '';
return this![0].toUpperCase() + this!.substring(1);
}