normalizeApostrophe method

String normalizeApostrophe()

Replaces different apostrophe characters (’ and ') with a standard single quote.

Implementation

String normalizeApostrophe() =>
    // Use a regex to find and replace apostrophe variants.
    replaceAll(_apostropheRegex, "'");