addEntity method

ModelEntity addEntity (
  1. ModelEntity other
)

Implementation

ModelEntity addEntity(ModelEntity other) {
  final modelEntity = createEntity(other.name, other.id.uid);
  other.properties.forEach((p) => modelEntity.addProperty(p));
  return modelEntity;
}