findSameRelation method

ModelRelation? findSameRelation(
  1. ModelRelation other
)

Implementation

ModelRelation? findSameRelation(ModelRelation other) =>
    other.id.uid == 0
        ? findRelationByName(other.name)
        : _findRelationByUid(other.id.uid);