strip static method

String strip(
  1. String? cnpj
)

Implementation

static String strip(String? cnpj) {
  RegExp regex = RegExp(STRIP_REGEX);
  cnpj = cnpj == null ? "" : cnpj;

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