cToTitleCase property

String cToTitleCase

Converts each word in the string to title case.

Implementation

String get cToTitleCase => replaceAll(RegExp(' +'), ' ')
    .split(' ')
    .map((str) => str.cToCapitalized)
    .join(' ');