EntityObject constructor Null safety

EntityObject()