Entity constructor Null safety

Entity()