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