capitalizeAndLowercase function
Capitalize the first character of the string and lowercase the others (using toUpperCase() and toLowerCase() respectively).
Implementation
String capitalizeAndLowercase(String string) => string.capitalizeAndLowercase();