RandomFloat constructor Null safety

RandomFloat()