friendlyTitle method

string friendlyTitle([
  1. bool? forceCase
])

return a string in a friendly format

Implementation

string friendlyTitle([bool? forceCase]) => camelSplitString.replaceAll("_", " ").fixText.removeLastAny(endOfSentenceChars).toTitleCase(forceCase);