deFormat method Null safety
- String value
Quita el formato especĂfico de RUT de un texto.
- Ejemplo:
print(RUTValidator.deformat('12.933.245-2'));//129332452
Implementation
static String deFormat(String value) {
return value.split('.').join('').split('-').join('');
}