IntGenerator constructor Null safety

IntGenerator()