QueryBase constructor Null safety

QueryBase()