removeNonNumbers method
Removes all characters that are not digits (0-9).
Implementation
String removeNonNumbers() =>
// The regex \D matches any non-digit character.
replaceAll(_nonDigitRegex, '');
Removes all characters that are not digits (0-9).
String removeNonNumbers() =>
// The regex \D matches any non-digit character.
replaceAll(_nonDigitRegex, '');