create method

Entity create()

The way a new entity should be created.

Implementation

Entity create() {
  final entity = Entity(uuid.v4(), this);
  return setEntity(entity);
}