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