toCapitalize property
String
toCapitalize
Converts the first character of string to upper case and the remaining to lower case. Example: "helloWorld" -> "HelloWorld"
Implementation
String get toCapitalize => capitalize(this);