removeDiacritics function

String removeDiacritics(
  1. String input
)

Removes diacritics from a string.

Implementation

String removeDiacritics(String input) {
  var output = input;
  _diacritics.forEach((k, v) => output = output.replaceAll(v, k));
  return output;
}