Entity<ParentType, ChildType> constructor
const
Entity<ParentType, ChildType> (])
Creates an entity.
Implementation
const Entity(this.id, this.name, this.type, [this.children = const []]);