shuffle property
Shuffles the given String
's characters.
Example
String foo1 = 'esentis';
String shuffled = foo.shuffle; // 'tsniees'
Implementation
String get shuffle {
if (isBlank) {
return blankIfNull;
}
var stringArray = toArray;
stringArray.shuffle();
return stringArray.join();
}