RandomInteger constructor Null safety

RandomInteger()