capitalizeAndLowercaseAnyWord method
Capitalize the first character of any word in the string string and lowercase the others (using toUpperCase() and toLowerCase() respectively). The method also execute am implicit trim() on the atring
Implementation
String capitalizeAndLowercaseAnyWord() => [
for (var part in trim().split(' ')) part.capitalizeAndLowercase()
].join(' ');