containsUid method

bool containsUid (
  1. int searched
)

Implementation

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