generateFrom abstract method
This method generates a valid CPF from a given list of integers, which is returned as a String
Usage:
final cpf = CPFUtil();
// This will generate a valid CPF from a given list of integers
print(cpf.generateFrom([1, 2, 3])); // -> '123.356.111-19'
You can check the state of a CPF by looking at the last number before the two verifiers digits.
All the information about the generation and the states number can be obtained here:
https://pt.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas
Implementation
String generateFrom(List<int> numbers);