toSentenceCase method
Converts this String to sentence casing.
// 'Here is some text, FYI. I hope you like it! Peace'
'here is some text, FYI. I hope you like it! peace'.toSentenceCase();
See also:
Implementation
String toSentenceCase({
bool convertAcryonyms = false,
String? locale,
}) =>
ToSentenceCaseTransformation(convertAcronyms: convertAcryonyms)
.transform(this, locale ?? Intl.getCurrentLocale());