toMap static method
Implementation
static Map<String, dynamic> toMap(UserEntity model) => {
'uid': model.uid ?? '',
'name': model.name,
'last_name': model.lastName,
'email': model.email,
'document_type': model.documentType ?? '',
'document_number': model.documentNumber ?? '',
'company_name': model.companyName ?? '',
'phone': model.phone,
'address': model.address ?? '',
'organization_uid_fk': model.organizationUidFk ?? '',
'role_id_fk': model.roleIdFk ?? 1,
'created_at': model.createdAt ?? DateTime.now(),
};