normalizeTextByRemovingDiacritics function

String normalizeTextByRemovingDiacritics(
  1. String text
)

Removes any diacritics from text and lowercase it.

Implementation

String normalizeTextByRemovingDiacritics(String text) {
  return removeDiacritics(text.toLowerCase());
}