newEntity method

Entity<E> newEntity()

Creates a new empty instance of this entity type. The returned entity has the same Concept as the original.

Implementation

Entity<E> newEntity() {
  var entity = Entity<E>();
  entity.concept = _concept!;
  return entity;
}