toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'cpf_cnpj': cpfOrCnpj,
    'name': name,
    'phone_prefix': phonePrefix,
    'phone': phone,
    'email': email,
    'address': address?.toMap(),
  };
}