toCapitalize method
Capitalize each word inside string Example: your name => Your Name, your name => Your name
If First Only is true
, the only letter get uppercase is the first letter
Implementation
String? toCapitalize({bool firstOnly = false}) =>
TransformUtils.capitalize(this, firstOnly: firstOnly);