DeclarationType constructor Null safety

DeclarationType()