findSameEntity method
Implementation
ModelEntity? findSameEntity(ModelEntity other) {
ModelEntity? ret;
if (other.id.uid != 0) ret = findEntityByUid(other.id.uid);
return ret ?? findEntityByName(other.name);
}
ModelEntity? findSameEntity(ModelEntity other) {
ModelEntity? ret;
if (other.id.uid != 0) ret = findEntityByUid(other.id.uid);
return ret ?? findEntityByName(other.name);
}