RandomDouble constructor Null safety

RandomDouble()