findSameRelation method

ModelRelation? findSameRelation(
  1. ModelRelation other
)

Implementation

ModelRelation? findSameRelation(ModelRelation other) {
  ModelRelation? ret;
  if (other.id.uid != 0) ret = _findRelationByUid(other.id.uid);
  return ret ?? _findRelationByName(other.name);
}