toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': id,
    'email': email,
    'name': name,
    'notes': notes,
    'created_at': createdAt,
    'updated_at': updatedAt,
    'custom_variables': customVariables?.map((x) => x.toJson()).toList(),
    'zip_code': zipCode,
    'number': number,
    'complement': complement,
    'cpf_cnpj': cpfCnpj,
  };
}