RandomArray constructor Null safety

RandomArray()