Entity.obj constructor
Entity.obj(
- Object object
Creates a new instance of Entity from the specified object. This
effectively uses objId to convert the object to an int and then
uses that as the id for the new Entity instance.
Implementation
factory Entity.obj(Object object) => Entity(objId(object));