DeclarationBuilder constructor Null safety

DeclarationBuilder()