removeNonNumbers method
Returns a new string with all non-digit characters removed.
Implementation
@useResult
String removeNonNumbers() => replaceAll(_nonDigitRegex, '');
Returns a new string with all non-digit characters removed.
@useResult
String removeNonNumbers() => replaceAll(_nonDigitRegex, '');