shouldIgnoreCapitalization property

bool get shouldIgnoreCapitalization

Determines if capitalization should be ignored for this string. Returns true if the string starts with a number or is a common lowercase word in titles.

Implementation

bool get shouldIgnoreCapitalization =>
    startsWithNumber || _titleCaseExceptions.contains(toLowerCase());