strip static method

String strip(
  1. String? cnpj
)

Implementation

static String strip(String? cnpj) {
  var regex = RegExp(stipRegex);
  cnpj = cnpj ?? '';

  return cnpj.replaceAll(regex, '');
}