RandomString constructor Null safety

RandomString()