toCapitalized method
get Capitalized string
Implementation
String toCapitalized() =>
length > 0 ? '${this[0].toUpperCase()}${substring(1)}' : '';
get Capitalized string
String toCapitalized() =>
length > 0 ? '${this[0].toUpperCase()}${substring(1)}' : '';