obterCpf method
- String cpf
Implementation
static String obterCpf(String cpf) {
assert(cpf.length == 11);
return cpf.substring(0, 3) +
'.' +
cpf.substring(3, 6) +
'.' +
cpf.substring(6, 9) +
'-' +
cpf.substring(9, 11);
}