ValueGenerator constructor Null safety

ValueGenerator()