containsUid method
Implementation
bool containsUid(int searched) {
if (id.uid == searched) return true;
if (lastPropertyId.uid == searched) return true;
if (properties.indexWhere((p) => p.id.uid == searched) != -1) {
return true;
}
if (relations.indexWhere((p) => p.id.uid == searched) != -1) {
return true;
}
return false;
}