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