toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'email': email,
'name': name,
'cpf_cnpj': cpfOrCnpj,
'cc_emails': withCopyEmails,
'notes': notes,
'custom_variables': customVariables?.map((x) => x.toMap()).toList(),
'zip_code': zipCode,
'number': number,
'complement': complement,
};
}