capitalize method
Implementation
String capitalize() {
if (this == null || this!.isEmpty) return '';
return this![0].toUpperCase() + this!.substring(1);
}
String capitalize() {
if (this == null || this!.isEmpty) return '';
return this![0].toUpperCase() + this!.substring(1);
}