convertAlphaCharactersInNumber method

String convertAlphaCharactersInNumber(
  1. String number
)

Converts all alpha characters in a number to their respective digits on a keypad, but retains existing formatting. Also converts wide-ascii digits to normal ascii digits, and converts Arabic-Indic numerals to European numerals.

number a string of characters representing a phone number. convertAlphaCharactersInNumber returns the normalized string version of the phone number.

Implementation

String convertAlphaCharactersInNumber(String number) {
  return _normalizeHelper(number, _allNormalizationMappings, false);
}