capitalize method
Implementation
String capitalize() {
if (isNullOrEmpty) return this;
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
}
String capitalize() {
if (isNullOrEmpty) return this;
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
}