findSameRelation method

ModelRelation? findSameRelation(
  1. ModelRelation other
)

Implementation

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