strip method Null safety
- String? cpf
Implementation
static String strip(String? cpf) {
var regExp = RegExp(stipRegex);
cpf = cpf ?? '';
return cpf.replaceAll(regExp, '');
}
static String strip(String? cpf) {
var regExp = RegExp(stipRegex);
cpf = cpf ?? '';
return cpf.replaceAll(regExp, '');
}