toJson method
Implementation
JsonMap toJson() => {
"nome": nome,
"sobrenome": sobrenome,
"cpfCnpj": cpfCnpj,
"rg": rg,
"cnh": cnh,
"pis": pis,
"emails": emails,
"telefones": telefones.map((e) => e.toString()).toList(),
"enderecos": enderecos.map((e) => e.toJson()).toList(),
...informacoesComplementares,
};