static bool isValid(String? cep) { if (cep == null || cep.isEmpty) return false; String cepSemPontuacao = cep.replaceAll('.', '').replaceAll('-', ''); return cepSemPontuacao.length == 8; }