onlyNumberString static method
Implementation
static String onlyNumberString({required String text}) {
final regexp = RegExp(r'\D');
var onlySanitized = text.replaceAll(regexp, '');
return onlySanitized.replaceAll('.', '').replaceAll('/', '').replaceAll('-', '');
}