findSameProperty method

ModelProperty? findSameProperty(
  1. ModelProperty other
)

Implementation

ModelProperty? findSameProperty(ModelProperty other) {
  ModelProperty? ret;
  if (other.id.uid != 0) ret = _findPropertyByUid(other.id.uid);
  return ret ?? findPropertyByName(other.name);
}